:root {
    /* Nueva paleta de colores */
    --dark-gray: #1D1616;    /* Color principal para fondos oscuros y texto */
    --dark-red: #8E1616;     /* Color secundario para acentos */
    --bright-red: #D84040;   /* Color primario para CTAs y elementos importantes */
    --light-gray: #EEEEEE;   /* Color para fondos claros y elementos sutiles */
    --footer-bg: #2D2626;    /* Nueva variable para el fondo del footer */
    
    /* Variables semánticas */
    --primary-color: var(--bright-red);
    --secondary-color: var(--dark-red);
    --background-color: var(--light-gray);
    --text-color: var(--dark-gray);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem 1.5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--dark-red);
    margin-left: 0em; /* Margen por defecto para móviles */
}

/* Ajuste para pantallas grandes */
@media (min-width: 768px) {
    .logo {
        margin-left: -1em;
    }
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-color);
}

.login-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background-color: var(--bright-red);
    color: white !important;
    transition: background-color 0.2s;
}

.login-btn:hover {
    background-color: var(--dark-red);
}

.hero-container {
    max-width: 1400px;
    margin: 4rem auto; /* Margen por defecto para desktop */
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

/* Ajuste para pantallas móviles */
@media (max-width: 768px) {
    .hero-container {
        margin: 1rem auto; /* Reducido de 4rem a 1rem para móvil */
        gap: 2rem; /* También reducimos el gap entre elementos */
    }
}

.hero {
    flex: 0.8;
    max-width: 500px;
    margin: 0;
    text-align: left;
    padding: 0;
}

.hero-image {
    flex: 1.2;
    position: relative;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    background-color: white;
    padding: 1rem;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 400px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.carousel-button {
    display: none;
}

.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(216, 64, 64, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.dot.active {
    background: var(--bright-red);
    transform: scale(1.3);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    color: var(--dark-gray);
    opacity: 0.9;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.waitlist-form {
    display: flex;
    gap: 1rem;
    margin: 0 0 2rem;
}

input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--dark-red);
    box-shadow: 0 0 0 2px rgba(142, 22, 22, 0.1);
}

.cta-button {
    padding: 1rem 2rem;
    background-color: var(--bright-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.avatars {
    display: flex;
    margin-right: -8px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: 2px solid white;
    margin-right: -8px;
}

.rating {
    color: #fbbf24;
    letter-spacing: 2px;
}

.language-selector {
    position: relative;
    margin-left: 1.5rem;
}

.language-btn {
    background: transparent;
    border: 1px solid var(--dark-red);
    color: var(--dark-red);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.arrow {
    font-size: 0.625rem;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    display: none;
    min-width: 120px;
}

.language-dropdown.active {
    display: block;
}

.language-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    margin: 0;
}

.language-dropdown a:hover {
    background-color: var(--light-gray);
    color: var(--dark-gray);
}

.nav-links .login-btn {
    margin-right: 0.5rem;
}

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

    .hero {
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .waitlist-form {
        margin: 0 auto 2rem;
    }

    .carousel {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        height: 300px;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 4rem 2rem;
    background-color: white;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--dark-red);
    transition: transform 0.3s ease;
    position: relative;
}

.faq-icon svg {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.icon-plus {
    opacity: 1;
}

.icon-minus {
    opacity: 0;
}

.faq-item.active .icon-plus {
    opacity: 0;
}

.faq-item.active .icon-minus {
    opacity: 1;
}

.faq-question:hover {
    color: var(--bright-red);
}

.faq-question:hover .faq-icon {
    transform: scale(1.1);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.faq-item.active .faq-answer {
    height: auto;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    background-color: var(--footer-bg);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid #e2e8f0;
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.75rem;
    line-height: 1.5;
    font-size: 1rem;
}

.twitter-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s;
    padding: 0.75rem;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    max-width: 100%;
}

.twitter-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-1px);
}

.twitter-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.twitter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.twitter-link span {
    font-size: 0.95rem;
    line-height: 1.4;
}

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

.footer-column h3 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column ul a:hover {
    color: var(--light-gray);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-brand {
        max-width: none;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .twitter-link {
        width: 100%;
        justify-content: center;
    }
}

/* Legal Content Styles */
.legal-content {
    padding: 4rem 2rem;
    background-color: white;
}

.legal-content .container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--dark-red);
    margin-bottom: 1rem;
}

.legal-section p,
.legal-section ul {
    color: var(--dark-gray);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
}

/* Make logo a link without changing its appearance */
a.logo {
    text-decoration: none;
    color: inherit;
}

/* Ajustar estilos para la palabra resaltada */
.highlight-word {
    display: inline-block;
    background-color: var(--bright-red); 
    color: white;
    padding: 0.2em 0.4em;
    border-radius: 16px;
    margin: 0 0.1em;
}

/* Ajustar el tamaño del título */
.hero h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

/* Estilos para la sección de fuentes de transcripción */
.transcription-sources {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.sources-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.source-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.source-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.arrow-icon {
    color: var(--dark-red);
    margin: 0 1rem;
}

.sources-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Estilos para el testimonial */
.testimonial-section {
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-content {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 1rem;
    padding: 0 1rem;
    text-align: center;
}

.testimonial-text {
    color: #4B5563;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.testimonial-arrow {
    fill: var(--bright-red);
    margin-top: 0.5rem;
    width: 30px;
    height: auto;
}

/* Ajustes para pantallas grandes */
@media (min-width: 768px) {
    .testimonial-content {
        position: absolute;
        top: -5.5rem;
        text-align: right;
        padding: 0;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .testimonial-arrow {
        width: 40px;
    }
}

.testimonial-link {
    font-weight: 600;
    text-decoration: underline;
    color: #4B5563;
    transition: color 0.2s;
}

.testimonial-link:hover {
    color: var(--bright-red);
}

/* Estilos para el popup */
.thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    margin: 1rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    animation: slideUp 0.3s ease;
}

.popup-content h3 {
    color: var(--dark-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.popup-content p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.close-popup {
    background: var(--bright-red);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.close-popup:hover {
    background: var(--dark-red);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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