/* Variables */
:root {
    --primary-color: #6C63FF;
    --secondary-color: #FF6584;
    --dark-color: #2D3748;
    --light-color: #F7FAFC;
    --accent-color: #4299E1;
    --text-color: #1A202C;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #3F3D99 100%);
    --font-main: 'Poppins', 'Arial', sans-serif;
}

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

h1, h2, h3 {
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

section {
    padding: 5rem 0;
}

/* Header y navegación */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.domain {
    color: var(--secondary-color);
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

.menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.menu li {
    margin-left: 2rem;
}

.menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.menu a:hover {
    color: var(--primary-color);
}

.menu a:not(.btn-try)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.menu a:not(.btn-try):hover::after {
    width: 100%;
}

.btn-try {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-try:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding-top: 10rem;
    padding-bottom: 8rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-text h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: left;
    padding-bottom: 0;
}

.hero-text h2::after {
    display: none;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 101, 132, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 101, 132, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* Features Section */
.features {
    background-color: white;
}

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

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* How it works Section */
.how-it-works {
    background-color: #f8fafc;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
}

.step {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: relative;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.step-arrow {
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

/* Benefits Section */
.benefits {
    background-color: white;
}

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

.testimonial {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quote {
    margin-bottom: 1rem;
}

.quote-icon {
    width: 30px;
    height: 30px;
    opacity: 0.5;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* CTA Section */
.cta {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

.cta h2::after {
    background-color: white;
}

.cta p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-svg {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-links h3, .footer-terms h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after, .footer-terms h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul, .footer-terms ul {
    list-style: none;
}

.footer-links li, .footer-terms li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-terms a {
    color: #CBD5E0;
    transition: all 0.3s ease;
}

.footer-links a:hover, .footer-terms a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #CBD5E0;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h2 {
        text-align: center;
    }
    
    .buttons {
        justify-content: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo, .footer-links, .footer-terms {
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-links h3::after, .footer-terms h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    #menu-toggle:checked ~ .menu {
        transform: translateY(0);
        opacity: 1;
    }
    
    .menu li {
        margin: 1rem 0;
    }
    
    .hero-text h2 {
        font-size: 2.2rem;
    }
}
