/* Global Custom Properties */
:root {
    --color-bg: #ffffff;
    --color-bg-alt: #fafafa;
    --color-bg-green-soft: #f4f7f5; /* Subtle dark green tint */
    
    --color-text: #0d0d0d;
    --color-text-muted: #6e6e73; /* Apple-like muted text */
    
    /* Brand Colors - Premium Greens */
    --color-primary: #0a3a24;
    --color-primary-dark: #052214;
    --color-primary-light: #125537;
    --color-primary-glow: rgba(10, 58, 36, 0.15);
    
    --font-main: 'Inter', sans-serif;
    
    --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-normal: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    --shadow-green: 0 12px 30px -8px rgba(10, 58, 36, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section {
    padding: 10rem 0; /* Espaciado cinematográfico premium */
}

.text-center {
    text-align: center;
}

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

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--color-bg-green-soft);
    color: var(--color-primary-dark);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(15, 81, 50, 0.2);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-text);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(15, 81, 50, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border-color: #e5e7eb;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-bg-green-soft);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 110px; /* Tamaño medio para un balance visual perfecto */
    padding: 0.5rem 0;
    transition: var(--transition-normal);
}

.header.scrolled .header-container {
    min-height: 90px;
}

#main-logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0; /* Previene bugs en Safari/Flexbox donde la imagen se expande */
    max-width: 250px;
}

#main-logo img {
    height: 85px; 
    max-height: 85px;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    border: none;
    outline: none;
    display: block;
    transition: var(--transition-normal);
}

.header.scrolled #main-logo img {
    height: 70px;
    max-height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text);
}

.logo span {
    color: var(--color-primary);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Premium Mobile Hamburger Menu Button */
.mobile-menu-btn {
    display: none; /* Oculto en desktop */
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    z-index: 1010; /* Sobre la cabecera y el panel overlay */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    touch-action: manipulation; /* Optimización táctil para evitar retardo de doble toque en iOS */
}

.mobile-menu-btn:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
    border-color: rgba(10, 58, 36, 0.15);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.hamburger-line {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    background-color: #0a3a24; /* Verde oscuro principal */
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, top 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-line:nth-child(1) {
    top: 15px;
}

.hamburger-line:nth-child(2) {
    top: 21px;
}

.hamburger-line:nth-child(3) {
    top: 27px;
}

/* Animación a "X" al abrir */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* Mobile Menu Panel Overlay */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.82); /* Fondo blanco translúcido premium estilo Apple */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1005; /* Justo debajo del botón y sobre el contenido del sitio */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Estado inicial oculto */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.4s, 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    align-items: center;
}

/* Animación de entrada escalonada (stagger) para los elementos */
.mobile-nav-list li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.mobile-menu-panel.open .mobile-nav-list li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-panel.open .mobile-nav-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-panel.open .mobile-nav-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-panel.open .mobile-nav-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-panel.open .mobile-nav-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-panel.open .mobile-nav-list li:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-link {
    font-size: 1.85rem;
    font-weight: 600;
    color: #0a3a24;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
    letter-spacing: -0.02em;
}

.mobile-nav-link:hover {
    color: var(--color-primary-light, #125537);
    transform: scale(1.05);
}

.mobile-nav-btn-item {
    margin-top: 1.5rem;
    width: 100%;
}

.mobile-btn-submit {
    display: inline-flex !important;
    width: 100%;
    padding: 1.1rem 2rem;
    font-size: 1.1rem;
    border-radius: 14px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(10, 58, 36, 0.18);
    background-color: var(--color-primary, #0a3a24);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-btn-submit:hover {
    background-color: var(--color-primary-dark, #052214);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(10, 58, 36, 0.28);
}

.mobile-btn-submit:active {
    transform: scale(0.98) translateY(-1px);
}

/* Deshabilitar scroll en el body cuando el menú está abierto */
body.mobile-menu-active {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px; /* Ajuste cinematográfico premium */
    padding-bottom: 8rem;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: #f5f5f7;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% -20%, var(--color-bg-green-soft) 0%, transparent 50%),
                radial-gradient(circle at -20% 80%, rgba(15, 81, 50, 0.03) 0%, transparent 50%);
    z-index: -1;
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 400;
    max-width: 90%;
}

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

.hero-visual {
    position: relative;
}

.dashboard-mockup {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: perspective(1000px) rotateY(-3deg) rotateX(3deg);
    transition: var(--transition-slow);
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    z-index: 2;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) translateY(-4px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 25px 50px -12px rgba(10, 58, 36, 0.2);
}

.mockup-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    display: block;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: var(--color-primary);
    filter: blur(120px);
    opacity: 0.1;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* About Section */
.about {
    background-color: var(--color-bg);
    border-top: 1px solid rgba(0,0,0,0.03);
}

/* AdsPro Section */
.adspro {
    /* Base wrapper si es necesario */
}

#adspro-summary {
    background-color: #ffffff;
}

#timeout-summary {
    background-color: #f1f1f3;
}

.adspro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.adspro-info {
    width: 100%;
    display: flex;
    justify-content: center;
}

.adspro-inline-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 550px;
    object-fit: contain;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}


.adspro-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.adspro-card {
    background: var(--color-bg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.adspro-card:hover {
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.adspro-card-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-green-soft);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.adspro-card:hover .adspro-card-icon {
    background: var(--color-primary);
    color: white;
}

.adspro-card span {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1.125rem;
}

.interactive-card {
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    border-color: rgba(10, 58, 36, 0.1) !important;
    box-shadow: var(--shadow-premium) !important;
}


/* Benefits Section */
.benefits {
    background-color: var(--color-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(0, 0, 0, 0.08);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background-color: var(--color-bg-green-soft);
    color: var(--color-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--color-primary);
    color: white;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.benefit-desc {
    color: var(--color-text-muted);
}

/* Modal Premium Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-container {
    background: #ffffff;
    width: 95%;
    max-width: 950px;
    border-radius: 28px;
    padding: 0;
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15), 0 18px 36px -18px rgba(0, 0, 0, 0.1);
    transform: scale(0.95) translateY(30px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,0.05);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    z-index: 100;
}

.modal-close:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1) rotate(90deg);
}

.modal-content-wrapper {
    display: flex;
    align-items: stretch;
    min-height: 550px;
}

.modal-left {
    flex: 1.25; /* Approx 55% */
    padding: 5rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.modal-right {
    flex: 1; /* Approx 45% */
    background: linear-gradient(135deg, #f0f7f3 0%, #e8f2ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border-radius: 0 28px 28px 0;
    overflow: hidden;
    border-left: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.modal-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 25px 50px rgba(15, 81, 50, 0.15));
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(10px);
    opacity: 0;
}

.modal-overlay.active .modal-img {
    transform: translateY(0);
    opacity: 1;
    animation: modalImgFloat 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes modalImgFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 992px) {
    .modal-container {
        max-width: 700px;
    }
    .modal-left {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .modal-content-wrapper {
        flex-direction: column;
    }
    
    .modal-left {
        padding: 4rem 2rem 2.5rem;
        order: 1;
    }
    
    .modal-right {
        padding: 3rem 2rem;
        border-radius: 0 0 28px 28px;
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.03);
        order: 2;
        min-height: 400px;
    }
    
    .modal-container {
        width: 94%;
    }

    .modal-close {
        top: 1.25rem;
        left: auto;
        right: 1.25rem;
    }
}


body.modal-open {
    overflow: hidden;
}

/* Specific AdsPro card pointer */
.adspro-card {
    cursor: default;
}


/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-bg-green-soft) 0%, #e8f2ec 100%);
    border-top: 1px solid rgba(15, 81, 50, 0.1);
    border-bottom: 1px solid rgba(15, 81, 50, 0.1);
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.cta-title {
    color: var(--color-text);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-desc {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background-color: #082F1D; /* Deep elegant dark green */
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}

.footer-brand .logo {
    color: white;
}

.footer-brand .logo span {
    color: var(--color-primary-light);
}

.footer-desc {
    color: #a3c4b3;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #e2ede7;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
    overflow: hidden;
}

.social-link:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.social-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    transition: all 0.25s ease;
}

/* Ajuste visual para TikTok - ahora usa el tamaño estándar */

.social-link:hover img {
    transform: scale(1.08);
}

/* Specific Footer Social Overrides */
.footer-social .social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-social .social-link img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.footer-social .social-link:hover img {
    transform: scale(1.08);
}

.footer-bottom {
    text-align: center;
    color: #a3c4b3;
    font-size: 0.875rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .adspro-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero {
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header .btn {
        display: none;
    }

    #main-logo {
        max-width: 240px;
    }

    #main-logo img {
        height: 68px;
        max-height: 68px;
    }
    
    .header.scrolled #main-logo img {
        height: 58px;
        max-height: 58px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* AdsPro Interactive Tab Content */
.interactive-tab-trigger {
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: color var(--transition-fast);
}

.interactive-tab-trigger:hover {
    color: var(--color-primary);
}

.interactive-tab-trigger::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.interactive-tab-trigger:hover::after {
    width: 100%;
}

.interactive-tab-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.25, 1, 0.5, 1), margin 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
}

.interactive-tab-content.active {
    grid-template-rows: 1fr;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.interactive-tab-inner {
    min-height: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 0 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 4px 12px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.interactive-tab-content.active .interactive-tab-inner {
    opacity: 1;
    transform: translateY(0);
    padding: 2rem;
}

.interactive-tab-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.interactive-tab-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.adspro-tab-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:180px;
    height:52px;

    padding:0 28px;

    border-radius:14px;

    background:#005c2b;

    color:#ffffff;

    font-size:16px;
    font-weight:600;
    line-height:1;

    text-decoration:none;

    transition:
    transform .25s ease,
    background .25s ease,
    box-shadow .25s ease;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    white-space:nowrap;
}

.adspro-tab-button:hover{
    transform:translateY(-2px);
    background:#007a38;
}

.footer-social .social-link img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.footer-social .social-link:hover img {
    transform: scale(1.08);
}

.footer-bottom {
    text-align: center;
    color: #a3c4b3;
    font-size: 0.875rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .adspro-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero {
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header .btn {
        display: none;
    }

    #main-logo {
        max-width: 240px;
    }

    #main-logo img {
        height: 68px;
        max-height: 68px;
    }
    
    .header.scrolled #main-logo img {
        height: 58px;
        max-height: 58px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* AdsPro Interactive Tab Content */
.interactive-tab-trigger {
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: color var(--transition-fast);
}

.interactive-tab-trigger:hover {
    color: var(--color-primary);
}

.interactive-tab-trigger::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.interactive-tab-trigger:hover::after {
    width: 100%;
}

.interactive-tab-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.25, 1, 0.5, 1), margin 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
}

.interactive-tab-content.active {
    grid-template-rows: 1fr;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.interactive-tab-inner {
    min-height: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 0 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 4px 12px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.interactive-tab-content.active .interactive-tab-inner {
    opacity: 1;
    transform: translateY(0);
    padding: 2rem;
}

.interactive-tab-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.interactive-tab-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* AdsPro Platform SPA View */
.platform-view {
    padding-top: 140px;
    padding-bottom: 6rem;
    background-color: var(--color-bg);
    min-height: 100vh;
    animation: fadeInPlatform 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeInPlatform {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.platform-hero {
    margin-bottom: 6rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.badge-premium {
    background: linear-gradient(135deg, rgba(15,81,50,0.1) 0%, rgba(10,58,36,0.05) 100%);
    color: var(--color-primary-dark);
    border: 1px solid rgba(15,81,50,0.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.platform-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0d0d0d 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.platform-subtitle {
    font-size: 1.35rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.platform-showcase {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    padding-bottom: 4rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-item.reverse .showcase-content {
    order: 2;
}

.showcase-item.reverse .showcase-image {
    order: 1;
}

.premium-shadow {
    border-radius: 20px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1), 0 10px 25px -5px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.showcase-image:hover .premium-shadow {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px -20px rgba(15,81,50,0.15), 0 15px 35px -10px rgba(15,81,50,0.1);
}

@media (max-width: 992px) {
    .showcase-item, .showcase-item.reverse {
        grid-template-columns: 1fr;
    }
    .showcase-item.reverse .showcase-content {
        order: 1;
    }
    .showcase-item.reverse .showcase-image {
        order: 2;
    }
    .platform-title {
        font-size: 3rem;
    }
}

/* Contact Section Premium */
.contact-section {
    background-color: #fafafa;
    border-top: none; /* Sin líneas divisorias agresivas */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-green-soft);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.contact-item:hover .contact-icon {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
}

.phone-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
    cursor: pointer;
    display: inline-block;
}

.phone-link:hover {
    color: var(--color-primary-light);
}

.phone-link:active {
    opacity: 0.7;
}

.contact-social {
    margin-top: 3rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-fast);
}

.social-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(10, 58, 36, 0.1);
}

.social-btn:hover img {
    transform: scale(1.1);
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08), 0 10px 20px -5px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--color-text);
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:hover {
    border-color: rgba(10, 58, 36, 0.2);
}

.form-input:focus {
    background-color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(10, 58, 36, 0.1);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1.1rem;
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* AdsPro Community Visual */
.adspro-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Slideshow System */
.adspro-slideshow{
    position:relative;
    width:100%;
    max-width:320px;
    height:650px;
    margin:auto;
}

.adspro-slideshow .slide{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:contain;

    opacity:0;

    transition:
        opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);

    background:transparent !important;
}

.adspro-slideshow .slide.active{
    opacity:1;
}

/* Precise scale and position tuning for pixel-perfect slide alignment */
.adspro-slideshow .slide.slide-light {
    transform: scale(1);
    transform-origin: center center;
}

.adspro-slideshow .slide.slide-dark {
    /* Adjust this scale factor to match the Light Mode phone perfectly */
    transform: scale(0.972) translateY(0px);
    transform-origin: center center;
}

@media (max-width:768px){

    .adspro-slideshow{
        max-width:240px;
        height:500px;
    }

}

/* AdsPro Premium Showcase Phones */
.adspro-showcase-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.phone-interactive-wrapper, .phone-static-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 665px; /* Enforces parent layout box so absolute percentages are resolved reliably */
}

.showcase-phone {
    position: relative;
    z-index: 1; /* Establishes layer order below the GIF container */
    width: 320px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.08));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-screen-gif-container {
    position: absolute;
    top: 3.2%;
    left: 6.5%;
    width: 87%;  /* Explicit width (100% - 2 * 6.5%) */
    height: 93.6%; /* Explicit height (100% - 2 * 3.2%) */
    border-radius: 28px;
    overflow: hidden;
    z-index: 2; /* Renders perfectly on top of the phone image */
    background: #000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; /* Allow clicks to pass to the hotspot button */
}

.phone-screen-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-interactive-wrapper:hover .showcase-phone {
    transform: translateY(-6px) scale(1.01);
    filter: drop-shadow(0 30px 60px rgba(10, 58, 36, 0.12));
}

.phone-interactive-wrapper:hover .phone-screen-gif-container {
    transform: translateY(-6px) scale(1.01);
}

/* Premium Invisible Interactive Hotspot Overlay Button */
.phone-green-btn {
    position: absolute;
    width: 258px;
    height: 44px;
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 14px;
    z-index: 20;
    
    background: transparent !important;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    
    /* Completely invisible normal state */
    box-shadow: 0 0 0px rgba(0, 255, 120, 0);
    
    transition: all 0.25s ease;
}

.phone-green-btn:hover {
    transform: translateX(-50%) scale(1.03); /* Hover scale: 1.03 */
    /* Elegant soft green glow tightly bounded to the button */
    box-shadow: 0 0 10px 2px rgba(34, 197, 94, 0.45);
}

.phone-green-btn:active {
    transform: translateX(-50%) scale(0.97); /* Modern tactile spring-back click */
    box-shadow: 0 0 8px 1px rgba(34, 197, 94, 0.35);
}

/* Premium Reveal Transition Overrides for AdsPro Dedicated view */
#adspro-page .showcase-item .showcase-image.reveal {
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

#adspro-page .showcase-item .showcase-image.reveal.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

#adspro-page .showcase-item .showcase-content.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#adspro-page .showcase-item .showcase-content.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .phone-interactive-wrapper, .phone-static-wrapper {
        width: 240px;
        height: 499px; /* Fixed height for mobile layout sizing */
    }
    .showcase-phone {
        width: 240px;
    }
    .phone-screen-gif-container {
        border-radius: 21px;
    }
    .phone-green-btn {
        width: 194px;
        height: 33px;
        bottom: 39px;
        border-radius: 10px;
    }
}

/* SPA Dedicated Views Visibility */
#adspro-page,
#timeout-page {
    display: none;
}

#adspro-page.active,
#timeout-page.active {
    display: block;
}

.home-hidden {
    display: none !important;
}

/* ═══════════════════════════════════════════════
   Assets Community Section
   ═══════════════════════════════════════════════ */

.assets-community {
    padding: 7rem 0 6rem;
    background: linear-gradient(180deg, var(--color-bg) 0%, #f7faf8 40%, #f2f7f4 60%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}

.assets-community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(10, 58, 36, 0.1) 50%, transparent 100%);
}

.assets-community::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(10, 58, 36, 0.06) 50%, transparent 100%);
}

/* Header */
.assets-community-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.assets-community-badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: linear-gradient(135deg, rgba(15, 81, 50, 0.1) 0%, rgba(10, 58, 36, 0.04) 100%);
    color: var(--color-primary-dark);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(15, 81, 50, 0.15);
    box-shadow: 0 2px 8px rgba(10, 58, 36, 0.06);
}

.assets-community-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0a3a24 0%, #1a6b45 60%, #0d4a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.assets-community-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.assets-community-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

/* Gallery Grid */
.assets-community-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Card */
.assets-community-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.04),
        0 0 0 0px rgba(10, 58, 36, 0);
    transition:
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease;
    cursor: pointer;
}

.assets-community-card:hover {
    transform: translateY(-8px) scale(1.012);
    border-color: rgba(10, 58, 36, 0.1);
    box-shadow:
        0 24px 48px -12px rgba(0, 0, 0, 0.1),
        0 0 24px -4px rgba(10, 58, 36, 0.07);
}

/* Image Wrapper — prevents overflow and centers full mockup image */
.assets-community-card-img-wrapper {
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, #f8faf9 0%, #f1f4f2 100%);
    height: 290px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.75rem 1.5rem;
    transition: background 0.4s ease;
}

.assets-community-card-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.assets-community-card:hover .assets-community-card-img {
    transform: scale(1.04) translateY(-4px);
    filter: drop-shadow(0 20px 35px rgba(10, 58, 36, 0.12));
}

/* Card Label */
.assets-community-card-label {
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.02em;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    transition: color var(--transition-fast);
}

.assets-community-card:hover .assets-community-card-label {
    color: var(--color-primary);
}

/* ── Responsive: Tablet ── */
@media (max-width: 992px) {
    .assets-community-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .assets-community-title {
        font-size: 2.5rem;
    }

    .assets-community-header {
        margin-bottom: 3rem;
    }
}

/* ── Responsive: Mobile ── */
@media (max-width: 600px) {
    .assets-community-gallery {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 380px;
        margin: 0 auto;
    }

    .assets-community {
        padding: 5rem 0 4rem;
    }

    .assets-community-title {
        font-size: 2rem;
    }

    .assets-community-subtitle {
        font-size: 1.1rem;
    }

    .assets-community-header {
        margin-bottom: 2.5rem;
    }
}

/* ═══════════════════════════════════════════════
   Assets Community Premium Ad Banner
   ═══════════════════════════════════════════════ */

.assets-community-ad-banner {
    margin-top: 5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.assets-community-ad-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #052214;
    box-shadow: 
        0 20px 48px -10px rgba(0, 0, 0, 0.12),
        0 10px 20px -5px rgba(10, 58, 36, 0.08);
    border: 1px solid rgba(10, 58, 36, 0.08);
    transition: 
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease;
    cursor: pointer;
}

.assets-community-ad-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.assets-community-ad-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 34, 20, 0.2) 0%, rgba(5, 34, 20, 0) 40%, rgba(5, 34, 20, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.assets-community-ad-badge {
    align-self: flex-start;
    padding: 0.4rem 1rem;
    background: rgba(10, 58, 36, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover effects */
.assets-community-ad-wrapper:hover {
    transform: translateY(-8px) scale(1.008);
    border-color: rgba(10, 58, 36, 0.2);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.18),
        0 15px 30px -5px rgba(10, 58, 36, 0.15),
        0 0 30px 2px rgba(10, 58, 36, 0.05);
}

.assets-community-ad-wrapper:hover .assets-community-ad-img {
    transform: scale(1.025);
}

.assets-community-ad-wrapper:hover .assets-community-ad-badge {
    transform: translateY(-2px);
    background: var(--color-primary);
}

/* Responsive adjustment */
@media (max-width: 992px) {
    .assets-community-ad-banner {
        margin-top: 4rem;
        padding: 0 1.5rem;
    }
    
    .assets-community-ad-wrapper {
        border-radius: 20px;
    }
    
    .assets-community-ad-overlay {
        padding: 1.25rem;
    }
}

@media (max-width: 600px) {
    .assets-community-ad-banner {
        margin-top: 3rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .assets-community-ad-wrapper {
        border-radius: 16px;
    }
    
    .assets-community-ad-overlay {
        padding: 1rem;
    }
    
    .assets-community-ad-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
}

/* ═══════════════════════════════════════════════
   Community Modal Premium Styles
   ═══════════════════════════════════════════════ */
.community-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 22, 14, 0.45); /* Deep green-tinted dark overlay */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500; /* Above all other site elements */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.community-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.community-modal-container {
    background: #ffffff;
    width: 95%;
    max-width: 1020px; /* Wider premium container to give more horizontal presence */
    border-radius: 32px; /* Ultra-smooth Apple-style rounded corners */
    padding: 2.5rem 3rem; /* Spacious premium padding for Apple/Linear feel */
    position: relative;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transform: scale(0.96) translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.community-modal-overlay.active .community-modal-container {
    transform: scale(1) translateY(0);
}

.community-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--color-text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.community-modal-close:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: scale(1.08) rotate(90deg);
}

.community-modal-close svg {
    width: 18px;
    height: 18px;
}

/* Split Body Layout */
.community-modal-body {
    display: grid;
    grid-template-columns: 1fr 1.25fr; /* Shifted balance to give the visual showcase more horizontal prominence */
    gap: 2.5rem; /* Optimized gap to expand usable column widths */
    align-items: center;
    width: 100%;
}

.community-modal-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.community-modal-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--color-bg-green-soft) 0%, rgba(10, 58, 36, 0.1) 100%);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(10, 58, 36, 0.15);
    box-shadow: 0 8px 16px rgba(10, 58, 36, 0.04);
}

.community-modal-icon {
    width: 26px;
    height: 26px;
}

.community-modal-title {
    font-size: 2rem; /* Larger title for Apple/SaaS header */
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.community-modal-divider {
    width: 44px;
    height: 3px;
    background: var(--color-primary-light);
    border-radius: 99px;
    margin-bottom: 1.25rem;
    opacity: 0.35;
}

.community-modal-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.community-modal-footer {
    width: 100%;
}

.community-modal-footer .btn {
    width: 100%;
    padding: 0.95rem;
    border-radius: 14px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.community-modal-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(10, 58, 36, 0.15);
}

/* Premium Automatic Horizontal Slider (Right Side) */
.community-modal-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-modal-slider-container {
    position: relative;
    width: 100%;
    height: 400px; /* Elegant height to perfectly adapt horizontal mockups */
    border-radius: 24px;
    background: #ffffff; /* Clean white background to seamlessly blend mockups */
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08); /* Sophisticated subtle gray border */
    overflow: hidden;
}

.community-modal-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.community-modal-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px); /* Premium horizontal slide start */
    transition: 
        opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        visibility 0.8s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem; /* Elegant padding breathing room */
    background: #ffffff;
}

.community-modal-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* Slide into position */
}

.community-modal-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Exact user requirement: NO cover, NO cropping, display complete image */
    display: block;
    border-radius: 12px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08)); /* Ultra-clean shadow */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.community-modal-slide:hover .community-modal-slide-img {
    transform: scale(1.02);
}

/* Indicators */
.community-modal-indicators {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8); /* Modern light glassmorphism panel */
    padding: 0.4rem 0.8rem;
    border-radius: 99px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.community-modal-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15); /* Soft gray indicator dot */
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.community-modal-indicator:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.2);
}

.community-modal-indicator.active {
    background: #22c55e; /* AdsPro Active Brand Green */
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    width: 20px; /* Pill design for premium feel */
    border-radius: 99px;
}

/* Responsive Styles */
@media (max-width: 820px) {
    .community-modal-container {
        max-width: 480px;
        padding: 2.25rem 1.75rem;
        border-radius: 28px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .community-modal-body {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    
    .community-modal-visual {
        grid-row: 2; /* Visual content moves below text as requested */
    }
    
    .community-modal-content {
        grid-row: 1; /* Text content on top */
        align-items: center;
        text-align: center;
    }
    
    .community-modal-divider {
        margin: 0 auto 1.25rem;
    }
    
    .community-modal-slider-container {
        height: 250px; /* Perfect proportional mobile viewport adaptive height */
        border-radius: 16px;
    }
    
    .community-modal-slide {
        padding: 0.5rem; /* Elegant padding breathing room in mobile */
    }
}

/* ==========================================================================
   Toast Notifications & Button Disabled States
   ========================================================================== */

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    color: var(--color-text);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 16px -6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-main, 'Inter', sans-serif);
    font-size: 0.95rem;
    font-weight: 500;
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-success {
    border-left: 4px solid #22c55e;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: #22c55e;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.btn:disabled,
.btn-primary:disabled {
    background-color: var(--color-primary-dark, #0a3a24) !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 480px) {
    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    .toast {
        width: 100%;
        padding: 0.85rem 1.25rem;
    }
}

/* Corrección de interacción/click para inputs, textarea y botón del formulario */
input {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

textarea {
  pointer-events: auto;
  position: relative;
  z-index: 20;
}

button,
[type="submit"] {
  pointer-events: auto;
  position: relative;
  z-index: 20;
  cursor: pointer;
}

/* ==========================================================================
   Premium GIF Modal Isolated Styles
   ========================================================================== */
.gif-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 22, 14, 0.45); /* Deep green-tinted dark overlay */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2600;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.gif-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gif-modal-container {
    background: #ffffff;
    width: 95%;
    max-width: 1100px;
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.04);
    transform: scale(0.96) translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gif-modal-overlay.active .gif-modal-container {
    transform: scale(1) translateY(0);
}

.gif-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--color-text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.gif-modal-close:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: scale(1.08) rotate(90deg);
}

.gif-modal-close svg {
    width: 18px;
    height: 18px;
}

.gif-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gif-modal-badge {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gif-modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.gif-modal-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.gif-modal-body {
    overflow-y: auto;
    padding-right: 8px;
    flex-grow: 1;
}

/* Minimalist premium scrollbar styling */
.gif-modal-body::-webkit-scrollbar {
    width: 6px;
}

.gif-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.gif-modal-body::-webkit-scrollbar-thumb {
    background: rgba(10, 58, 36, 0.15);
    border-radius: 99px;
}

.gif-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 58, 36, 0.3);
}

.gif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.gif-card {
    background: #f8faf9;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gif-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(10, 58, 36, 0.08);
}

.gif-card-img-wrapper {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 1rem;
}

.gif-card-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.05));
    transition: transform 0.4s ease;
}

.gif-card:hover .gif-card-img {
    transform: scale(1.03);
}

.gif-card-label {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    background: #f8faf9;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustment for Tablet */
@media (max-width: 992px) {
    .gif-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .gif-modal-container {
        padding: 2rem;
    }
}

/* Responsive adjustment for Mobile */
@media (max-width: 600px) {
    .gif-modal-container {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
        width: 92%;
    }
    .gif-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .gif-card-img-wrapper {
        height: 140px;
    }
    .gif-modal-title {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   Timeout Showcase Carousel & Theme Switcher Styles
   ========================================================================== */
.timeout-theme-switch {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

/* Premium toggle button style */
.theme-toggle-btn {
    background: transparent;
    border: 1.5px solid var(--color-primary, #10b981);
    color: var(--color-primary-dark, #064e3b);
    padding: 0.6rem 1.4rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 1.5rem;
    z-index: 10;
    pointer-events: auto;
}

.theme-toggle-btn:hover {
    background: var(--color-primary, #10b981);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    transform: translateY(-1px);
}

.timeout-carousel-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-dark, #064e3b);
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    height: 1.5rem; /* Reserve height to avoid layout shift */
}

/* Main image container */
.timeout-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.timeout-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* object-fit contain */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
    background: transparent !important;
}

.timeout-image.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustment */
@media (max-width: 992px) {
    .timeout-image-wrapper {
        max-width: 280px;
        height: 520px;
    }
}

@media (max-width: 768px) {
    .timeout-image-wrapper {
        max-width: 240px;
        height: 450px;
    }
    .timeout-carousel-text {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Premium Individual GIF Viewer Modal Isolated Styles
   ========================================================================== */
.gif-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 22, 14, 0.65); /* Darker backdrop for focus */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2700; /* Above the gallery modal (which is 2600) */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.gif-viewer-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gif-viewer-container {
    background: transparent; /* Clean transparent container */
    width: 90%;
    max-width: 900px;
    position: relative;
    transform: scale(0.96);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.gif-viewer-overlay.active .gif-viewer-container {
    transform: scale(1);
}

.gif-viewer-close {
    position: absolute;
    top: -3.5rem; /* Place close button above/right of image */
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
}

.gif-viewer-close:hover {
    background: var(--color-primary, #10b981);
    border-color: var(--color-primary, #10b981);
    color: #ffffff;
    transform: scale(1.08) rotate(90deg);
}

.gif-viewer-close svg {
    width: 22px;
    height: 22px;
}

.gif-viewer-body {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gif-viewer-img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Adjustments for Mobile */
@media (max-width: 768px) {
    .gif-viewer-close {
        top: -3rem;
        right: 0;
        width: 38px;
        height: 38px;
    }
    .gif-viewer-close svg {
        width: 18px;
        height: 18px;
    }
    .gif-viewer-img {
        max-height: 70vh;
    }
}

/* ==========================================================================
   Premium Marcos Modal Isolated Styles
   ========================================================================== */
.marcos-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 22, 14, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2600;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.marcos-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.marcos-modal-container {
    background: #ffffff;
    width: 95%;
    max-width: 1100px;
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.04);
    transform: scale(0.96) translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.marcos-modal-overlay.active .marcos-modal-container {
    transform: scale(1) translateY(0);
}

.marcos-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--color-text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.marcos-modal-close:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: scale(1.08) rotate(90deg);
}

.marcos-modal-close svg {
    width: 18px;
    height: 18px;
}

.marcos-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.marcos-modal-badge {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marcos-modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.marcos-modal-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.marcos-modal-body {
    overflow-y: auto;
    padding-right: 8px;
    flex-grow: 1;
}

/* Minimalist premium scrollbar styling */
.marcos-modal-body::-webkit-scrollbar {
    width: 6px;
}

.marcos-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.marcos-modal-body::-webkit-scrollbar-thumb {
    background: rgba(10, 58, 36, 0.15);
    border-radius: 99px;
}

.marcos-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 58, 36, 0.3);
}

.marcos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.marcos-card {
    background: #f8faf9;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.marcos-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(10, 58, 36, 0.08);
}

.marcos-card-img-wrapper {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 1rem;
}

.marcos-card-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.05));
    transition: transform 0.4s ease;
}

.marcos-card:hover .marcos-card-img {
    transform: scale(1.03);
}

.marcos-card-label {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    background: #f8faf9;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustment for Tablet */
@media (max-width: 992px) {
    .marcos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .marcos-modal-container {
        padding: 2rem;
    }
}

/* Responsive adjustment for Mobile */
@media (max-width: 600px) {
    .marcos-modal-container {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
        width: 92%;
    }
    .marcos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .marcos-card-img-wrapper {
        height: 140px;
    }
    .marcos-modal-title {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   PREMIUM LANGUAGE SELECTOR DROPDOWN SYSTEM
   ========================================================================== */
.lang-selector-container {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}

.lang-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(10, 58, 36, 0.08);
    border-radius: 30px;
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0a3a24;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.lang-dropdown-toggle svg,
.lang-dropdown-toggle [data-lucide="globe"] {
    width: 15px;
    height: 15px;
    stroke: #0a3a24;
    stroke-width: 2px;
}

.lang-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(10, 58, 36, 0.15);
    box-shadow: 0 4px 15px rgba(10, 58, 36, 0.06);
    transform: translateY(-1px);
}

.lang-dropdown-toggle:active {
    transform: translateY(0);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(10, 58, 36, 0.08);
    border-radius: 16px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 170px;
    box-shadow: 0 12px 30px rgba(10, 58, 36, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.98);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.25s,
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1200;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-selector-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 14px;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: #6e6e73;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
    gap: 8px;
}

.lang-selector-btn:hover {
    background: rgba(10, 58, 36, 0.05);
    color: #0a3a24;
}

.lang-selector-btn.active {
    background: rgba(10, 58, 36, 0.08);
    color: #0a3a24;
    font-weight: 650;
}

/* ==========================================================================
   MOBILE LANG SELECTOR ADAPTATIONS
   ========================================================================== */
.mobile-lang-selector {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0.5rem 0;
}

.mobile-lang-selector .lang-dropdown-wrapper {
    width: 100%;
    max-width: 220px;
}

.mobile-lang-selector .lang-dropdown-toggle {
    width: 100%;
    justify-content: center;
    background: rgba(10, 58, 36, 0.04);
    border: 1px solid rgba(10, 58, 36, 0.08);
    padding: 12px 20px;
    font-size: 0.95rem;
}

.mobile-lang-selector .lang-dropdown {
    left: 50%;
    right: auto;
    transform: translate(-50%, 8px) scale(0.98);
    min-width: 200px;
}

.mobile-lang-selector .lang-dropdown.open {
    transform: translate(-50%, 0) scale(1);
}

.mobile-lang-selector .lang-selector-btn {
    font-size: 0.9rem;
    padding: 12px 16px;
}

/* ==========================================================================
   Premium Demo Product Selection Modal Styles
   ========================================================================== */
.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 20, 15, 0.4); /* Darker backdrop with green tint */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500; /* Above all other elements */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.demo-modal-container {
    background: rgba(255, 255, 255, 0.85); /* Premium glassmorphism */
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    width: 90%;
    max-width: 800px;
    border-radius: 24px;
    padding: 3.5rem 3rem 4rem;
    position: relative;
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.15), 
        0 15px 30px -10px rgba(10, 58, 36, 0.05),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transform: scale(0.95) translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.demo-modal-overlay.active .demo-modal-container {
    transform: scale(1) translateY(0);
}

.demo-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: var(--color-text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.demo-modal-close:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.08) rotate(90deg);
}

.demo-modal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.demo-modal-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background-color: var(--color-bg-green-soft);
    color: var(--color-primary-dark);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(15, 81, 50, 0.15);
}

.demo-modal-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.demo-modal-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.5;
}

.demo-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.demo-product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.demo-product-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    filter: blur(40px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
}

.adspro-card-premium:hover {
    border-color: rgba(10, 90, 50, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(10, 58, 36, 0.08);
}
.adspro-card-premium:hover .demo-product-glow {
    background: rgba(0, 229, 117, 0.2);
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.4);
}

.timeout-card-premium:hover {
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}
.timeout-card-premium:hover .demo-product-glow {
    background: rgba(59, 130, 246, 0.2);
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.4);
}

.demo-product-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.demo-product-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.adspro-icon-color {
    background: rgba(10, 58, 36, 0.08);
    color: var(--color-primary);
}
.adspro-card-premium:hover .adspro-icon-color {
    background: var(--color-primary);
    color: #ffffff;
    transform: scale(1.05);
}

.timeout-icon-color {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}
.timeout-card-premium:hover .timeout-icon-color {
    background: #2563eb;
    color: #ffffff;
    transform: scale(1.05);
}

.demo-product-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.demo-product-desc {
    font-size: 0.925rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.demo-product-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    margin-top: auto;
}

.adspro-card-premium .demo-product-action-btn {
    background: var(--color-bg-green-soft);
    color: var(--color-primary-dark);
    border: 1px solid rgba(10, 58, 36, 0.1);
}
.adspro-card-premium:hover .demo-product-action-btn {
    background: var(--color-primary);
    color: #ffffff;
    border-color: transparent;
}

.timeout-card-premium .demo-product-action-btn {
    background: rgba(59, 130, 246, 0.05);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.15);
}
.timeout-card-premium:hover .demo-product-action-btn {
    background: #2563eb;
    color: #ffffff;
    border-color: transparent;
}

.demo-product-card:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Premium Register Auto Carousel Styles (Transparent PNG Preservation)
   ========================================================================== */
.register-carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.register-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: transparent; /* Preservar transparencia del fondo */
}

.register-theme-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    z-index: 5;
    gap: 0.5rem;
}

.register-theme-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-text-muted);
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.register-theme-btn.active {
    background: var(--color-primary, #10b981);
    color: #ffffff;
    border-color: var(--color-primary, #10b981);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.register-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.register-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 40px; /* Ajusta el tamaño visual de la imagen a 340px */
    height: auto;
    max-height: 520px;
    object-fit: contain; /* Mantener la relación de aspecto original sin deformaciones */
    display: block;
    border-radius: 20px;
}

/* Premium Indicators */
.register-carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0.8rem;
    border-radius: 99px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.register-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.register-indicator.active {
    background: #ffffff;
    width: 20px;
    border-radius: 3px;
}





