:root {
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-secondary: #ec4899;
    --color-accent: #f59e0b;
    --color-bg: #0f0f0f;
    --color-bg-secondary: #1a1a1a;
    --color-bg-tertiary: #252525;
    --color-text: #ffffff;
    --color-text-secondary: #a1a1aa;
    --color-border: #27272a;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.3);
    --shadow-glow: 0 0 50px rgba(99, 102, 241, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    transition: var(--transition);
}

.logo-icon {
    font-size: 1.75rem;
    animation: float 3s ease-in-out infinite;
}

/* Logo SVG styles - OPTIMIZADO */
.logo-svg {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    /* Mejorar la renderización del SVG */
    filter: drop-shadow(0 0 15px rgba(122, 114, 255, 0.5));
    transition: var(--transition);
    animation: float-logo 3s ease-in-out infinite;
    /* Evitar que el SVG se vea pixelado */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.nav__logo:hover .logo-svg {
    filter: drop-shadow(0 0 25px rgba(122, 114, 255, 0.8)) 
            drop-shadow(0 0 35px rgba(175, 174, 248, 0.4));
    transform: translateY(-3px) scale(1.05) rotate(5deg);
}

/* Animación de flotación para el logo SVG */
@keyframes float-logo {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-6px) rotate(3deg); 
    }
}

/* Reemplazar los estilos de .logo-svg por .logo-png */

/* Logo PNG styles - Optimizado para el nuevo logo */
.logo-png {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.4));
    transition: var(--transition);
    animation: float-logo 3s ease-in-out infinite;
}

.nav__logo:hover .logo-png {
    filter: drop-shadow(0 0 18px rgba(99, 102, 241, 0.7));
    transform: translateY(-3px) scale(1.05);
}

/* Animación de flotación para el logo PNG */
@keyframes float-logo {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-5px); 
    }
}

/* Logo en footer */
.footer__logo .logo-png {
    width: 2rem;
    height: 2rem;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.4));
}

.footer__logo:hover .logo-png {
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.6));
    transform: translateY(-2px);
}

/* Actualizar la animación del logo */
.logo-icon {
    font-size: 1.75rem;
    animation: float 3s ease-in-out infinite;
}

/* Si es SVG, ajustar la animación */
.logo-svg {
    animation: float-svg 3s ease-in-out infinite;
}

@keyframes float-svg {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-8px) rotate(5deg); 
    }
}

/* Footer logo */
.footer__logo .logo-svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: pulse 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: 2s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--color-accent);
    top: 50%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-text);
    box-shadow: var(--shadow-lg);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 40px -10px rgba(99, 102, 241, 0.5);
}

.btn--secondary {
    background: var(--color-bg-tertiary);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn--secondary:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-primary);
}

.btn--large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-text);
    box-shadow: var(--shadow-lg);
}

.btn--large:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 50px -15px rgba(99, 102, 241, 0.6);
}

.hero__stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sections */
.benefits, .services, .cta-section, .faq {
    padding: 6rem 0;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Grid */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--color-bg-secondary);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.benefit-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-card__description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Services Grid */
.services {
    background: var(--color-bg-secondary);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-bg);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--color-primary);
}

.service-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-card__emoji {
    font-size: 2.5rem;
}

.service-card__header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card__description {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card__features li {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.service-card__features li::before {
    content: '✓';
    margin-right: 0.75rem;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.125rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: var(--color-bg-secondary);
    border-radius: 2rem;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    z-index: 0;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-box__text {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-box__note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* FAQ Section */
.faq__grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-item__question {
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__icon {
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item[open] .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Footer logo */
.footer__logo .logo-svg {
    width: 1.5rem;
    height: 1.5rem;
}

.footer__logo .logo-png {
    width: 2rem;
    height: 2rem;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.4));
}

.footer__logo:hover .logo-png {
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.6));
    transform: translateY(-2px);
}

.footer__tagline {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.footer__links {
    display: contents;
}

.footer__column h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__column a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer__column a:hover {
    color: var(--color-primary);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.footer__bottom p:last-child {
    margin-top: 0.5rem;
}

/* Products Section - TortillaIA */
.products {
    padding: 6rem 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start; /* Cambiado de 'center' a 'flex-start' */
    margin-top: 4rem;
    position: relative;
}

.product-showcase__image {
    position: relative;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-glow);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.6); }
}

.product-badge__icon {
    font-size: 1.25rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.product-visual {
    background: var(--color-bg-secondary);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease;
    position: sticky;
    top: 100px;
}

.product-visual:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.5);
    border-color: var(--color-primary);
}

/* Animación del badge cuando haces hover en el contenedor */
.product-visual:hover .product-badge {
    animation: pulse-glow 1s ease-in-out infinite, bounce 1s ease-in-out infinite;
}

/* Brillo sutil en el header del chat al hacer hover */
.product-visual:hover .discord-mockup__header {
    background: linear-gradient(135deg, #2f3136 0%, #36393f 100%);
}

.discord-mockup {
    background: #36393f;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.product-visual:hover .discord-mockup {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.discord-mockup__header {
    background: #2f3136;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 1px solid #202225;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #43b581;
    border-radius: 50%;
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.discord-mockup__content {
    padding: 1.5rem;
    min-height: 380px;
    max-height: 380px;
    overflow: hidden;
    background: #36393f;
    position: relative;
}

/* Mensajes base */
.message-bubble {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(10px);
}

.message-bubble.show {
    animation: messageAppear 0.3s ease-out forwards;
}

@keyframes messageAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Avatar de usuario */
.user-avatar {
    width: 40px;
    height: 40px;
    background: #5865f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Avatar del bot con logo PNG */
.bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--color-bg-tertiary);
    border: 2px solid var(--color-primary);
    padding: 3px;
}

.bot-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Mejorar visibilidad del logo PNG */
    filter: brightness(1.1);
}

/* Contenido del mensaje */
.message-text {
    flex: 1;
    min-width: 0;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.message-header strong {
    color: var(--color-primary);
    font-size: 0.9375rem;
    font-weight: 600;
}

.bot-badge {
    background: var(--color-primary);
    color: var(--color-text);
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.message-text p {
    color: #dcddde;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
}

/* Mensajes de usuario */
.user-message .message-text {
    background: transparent;
}

.user-message .message-text strong {
    color: #fff;
}

/* Indicador de escritura */
.typing-indicator {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing-bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Barra de carga */
.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.loading-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    animation: loading-progress 2s ease-in-out forwards;
}

@keyframes loading-progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Hora del mensaje */
.message-time {
    display: inline-block;
    font-size: 0.625rem;
    color: #72767d;
    margin-top: 0.25rem;
}

/* Estado del ticket */
.ticket-status {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(114, 118, 125, 0.2);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-resolved {
    background: rgba(67, 181, 129, 0.2);
    color: #43b581;
    border: 1px solid rgba(67, 181, 129, 0.3);
}

/* Responsive para productos */
@media (max-width: 968px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-visual {
        transform: none;
    }
    
    .discord-mockup__content {
        min-height: 400px;
        max-height: 400px;
    }
    
    .product-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .discord-mockup__content {
        min-height: 350px;
        max-height: 350px;
        padding: 1rem;
    }
    
    .message-bubble {
        gap: 0.5rem;
    }
    
    .bot-avatar,
    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .message-text p {
        font-size: 0.875rem;
    }
}

/* Resto de estilos de productos (stats, features, etc.) */
.product-showcase__content {
    position: relative;
}

.product-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.product-showcase__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-version {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 400;
    padding: 0.25rem 0.75rem;
    background: var(--color-bg-tertiary);
    border-radius: 0.5rem;
}

.product-showcase__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.product-showcase__description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-showcase__description strong {
    color: var(--color-text);
    font-weight: 600;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.product-feature__icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: 0.75rem;
    border: 1px solid var(--color-border);
}

.product-feature__content h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.product-feature__content p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.product-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border-radius: 1rem;
    border: 1px solid var(--color-border);
}

.product-stat {
    flex: 1;
    text-align: center;
}

.product-stat__number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.product-stat__label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-update {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.product-roadmap {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: 1rem;
    border: 1px solid var(--color-border);
}

.product-roadmap__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-roadmap__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-roadmap__list li {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.product-roadmap__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav__logo {
        font-size: 1.125rem;
    }

    .nav__cta {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .hero {
        min-height: 90vh;
        padding-top: 4rem;
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .hero__stats {
        gap: 2rem;
    }

    .benefits, .services, .cta-section, .faq {
        padding: 4rem 0;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__brand {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .stat__number {
        font-size: 2rem;
    }

    .section__title {
        font-size: 1.75rem;
    }

    .section__subtitle {
        font-size: 1rem;
    }

    .benefit-card, .service-card {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .cta-section {
        display: none;
    }
}

/* Botón CTA del header - MEJORADO */
.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-text);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Efecto de brillo animado */
.nav__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.nav__cta:hover::before {
    left: 100%;
    transition: left 0.6s ease;
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.nav__cta:active {
    transform: translateY(0);
}

/* Responsive para el botón del header */
@media (max-width: 768px) {
    .nav__cta {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .nav__cta {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
}
