:root {
    --primary-color: #1a3d52;
    --secondary-color: #e58129;
    --accent-color: #3d99be;
    --text-color: #1a3d52;
    --text-secondary: #505050;
    --background-color: white;
    --light-gray: #f8f9fa;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    margin: 0 auto;
}

.container > * {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 2rem 0;
    position: sticky;
    top: 0;
    background-color: var(--background-color);
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.logo img {
    height: 90px;
}

.privacy-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.home-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.header-text {
    color: var(--primary-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 0 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6rem 0 4rem;
    gap: 3rem;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 70%;
    height: auto;
}

.hero-image video {
    max-width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image video:hover {
    transform: perspective(1000px) rotateY(-2deg) translateY(-5px);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary-color), #f59633);
    color: white;
    padding: 1.1rem 2.2rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(229, 129, 41, 0.3);
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 129, 41, 0.4);
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    background-color: var(--light-gray);
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 1.2rem;
    text-align: left;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 4px solid var(--secondary-color);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--secondary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature p {
    color: var(--text-color);
    font-size: 1rem;
}

/* Waitlist Section */
.waitlist-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-gray), #ffffff);
    position: relative;
    overflow: hidden;
}

.waitlist-section::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(229, 129, 41, 0.05);
    z-index: 0;
}

.waitlist-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(26, 61, 82, 0.05);
    z-index: 0;
}

.waitlist-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.waitlist-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.waitlist-video {
    flex: 1;
}

.waitlist-video video {
    width: 100%;
    max-width: 500px;
    border-radius: 1.2rem;
    box-shadow: var(--shadow-md);
    transform: perspective(1000px) rotateY(5deg);
    transition: var(--transition);
}

.waitlist-video video:hover {
    transform: perspective(1000px) rotateY(2deg) translateY(-5px);
}

.waitlist-form {
    flex: 1;
    background: white;
    padding: 2.5rem;
    border-radius: 1.2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.waitlist-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    z-index: 2;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.7rem;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fbfbfb;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23223B54' viewBox='0 0 16 16'%3E%3Cpath d='M8 10l4-4H4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.submit-button {
    background: linear-gradient(90deg, var(--secondary-color), #f59633);
    color: white;
    border: none;
    width: 100%;
    padding: 1.1rem;
    border-radius: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(229, 129, 41, 0.2);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 129, 41, 0.3);
}

.submit-button:hover::before {
    left: 100%;
    transition: 0.7s;
}

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

    .waitlist-video {
        order: -1;
    }

    .waitlist-video video {
        max-width: 100%;
    }

    .waitlist-form {
        width: 100%;
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .waitlist-section {
        padding: 3rem 0;
    }
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid #eee;
    background-color: var(--light-gray);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    flex: 1;
    text-align: left;
    min-width: 200px;
}

.footer-left p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.footer-logo {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    min-width: 200px;
}

.social-link {
    color: var(--text-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

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

    .features-section {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-left, .footer-right {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    header {
        padding: 1.5rem 0;
    }

    nav {
        gap: 1rem;
    }

    .nav-top {
        flex-direction: column;
        gap: 1rem;
    }

    .header-text {
        padding: 0 0.5rem;
        font-size: 2.8rem;
        line-height: 1.2;
        font-weight: bold;
        text-align: center;
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-3px) translateX(3px);
    box-shadow: var(--shadow-md);
}

.benefit-card:hover::before {
    width: 6px;
}

.benefit-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.benefit-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .benefit-card {
        padding: 1rem;
    }
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

/* How it works section */
.how-it-works-section {
    padding: 4rem 0;
    text-align: center;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(61, 153, 190, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.section-title {
    color: var(--secondary-color);
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-description {
    color: #666;
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.step {
    flex: 1;
    max-width: 300px;
}

.step-icon {
    background: linear-gradient(135deg, #f0f2ff, #fff);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--secondary-color);
    font-size: 2rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.step-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed var(--secondary-color);
    opacity: 0.3;
    transition: var(--transition);
}

.step:hover .step-icon {
    transform: translateY(-5px) scale(1.05);
}

.step:hover .step-icon::after {
    transform: rotate(45deg);
    opacity: 0.6;
}

.step h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .step {
        max-width: 100%;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .section-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

/* Pop-up Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 61, 82, 0.95); /* Color #1a3d52 con transparencia */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup.show {
    opacity: 1;
}

.popup-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    border: 3px solid #e58129;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.popup.show .popup-content {
    transform: translateY(0);
}

.popup-content i {
    color: #e58129;
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.popup-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.popup-timer {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

#countdown {
    font-weight: 600;
    color: var(--secondary-color);
}

.close-popup {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background-color: #d68544;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .popup-content {
        padding: 2rem;
        width: 85%;
    }
}

.success-message {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background-color: #f0f9f4;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0.7rem;
    text-align: center;
    animation: slideDown 0.5s ease;
    box-shadow: var(--shadow-sm);
}

.success-message i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--primary-color);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animaciones para elementos al hacer scroll */
.animate-visible {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(20px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.benefit-card, .step, .feature, .hero-content, .hero-image {
    opacity: 0;
}

.scroll-fade {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Transiciones suaves para el header */
header {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Mejoras de accesibilidad */
:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
} 