/* AinudeCO - Estilos Principales */
:root {
    --primary: #ec008c;
    --primary-light: #ff5ab0;
    --primary-dark: #b4006b;
    --secondary: #fc6767;
    --secondary-light: #ffa3a3;
    --secondary-dark: #c33b3b;
    --accent: #6a1b9a;
    --text-dark: #333333;
    --text-light: #777777;
    --text-lighter: #999999;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --border-radius: 12px;
    --shadow: 0 8px 25px rgba(236, 0, 140, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Nunito', 'Roboto', 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: var(--background);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--secondary), var(--primary));
    border-radius: 2px;
}

/* Fondo con patrón */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ec008c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

/* Header y navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(236, 0, 140, 0.1);
    backdrop-filter: blur(10px);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon-small {
    width: 30px;
    height: 30px;
}

.logo-container h1 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0;
    font-weight: 800;
}

.desktop-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-menu a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 8px 0;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    transition: var(--transition);
    border-radius: 3px;
}

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

.desktop-menu a:hover::after {
    width: 100%;
}

/* Menú móvil */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: white;
    z-index: 1200;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.4s ease;
    padding: 20px 0;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 30px;
    color: var(--primary);
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    padding: 0 20px;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    display: block;
    padding: 12px;
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu a:hover {
    background-color: rgba(236, 0, 140, 0.05);
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.1;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(236, 0, 140, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 10px 25px rgba(236, 0, 140, 0.25);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(236, 0, 140, 0.35);
    color: white;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 450px;
}

.hero-illustration {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    width: 100%;
    height: auto;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-light), var(--primary-light));
    filter: blur(25px);
    opacity: 0.4;
}

.shape1 {
    width: 150px;
    height: 150px;
    top: 50px;
    right: 50px;
    animation: float-delay 8s ease-in-out infinite;
}

.shape2 {
    width: 100px;
    height: 100px;
    bottom: 70px;
    left: 50px;
    animation: float-delay 10s ease-in-out infinite reverse;
}

.shape3 {
    width: 80px;
    height: 80px;
    top: 200px;
    left: 10px;
    animation: float-delay 7s ease-in-out infinite;
}

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

@keyframes float-delay {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, -15px);
    }
    50% {
        transform: translate(20px, 0);
    }
    75% {
        transform: translate(10px, 15px);
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(236, 0, 140, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Wave separator */
.wave-separator {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    z-index: 1;
}

.wave-separator svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wave-separator.flip {
    transform: rotate(180deg);
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background-color: var(--background-alt);
    position: relative;
}

.steps-container {
    max-width: 850px;
    margin: 0 auto 60px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(236, 0, 140, 0.25);
}

.step-content {
    flex: 1;
    padding-top: 10px;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-light);
}

.step-connector {
    height: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 30px;
    margin-bottom: 20px;
}

.action-cta {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    padding: 50px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    color: white;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(236, 0, 140, 0.25);
}

.action-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.action-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.action-cta .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.action-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--background);
}

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

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.toggle-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: var(--transition);
}

.toggle-icon::before {
    width: 20px;
    height: 2px;
    top: 9px;
}

.toggle-icon::after {
    width: 2px;
    height: 20px;
    left: 9px;
    top: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-item.active .toggle-icon::before,
.faq-item.active .toggle-icon::after {
    background-color: white;
}

.faq-item.active .toggle-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 20px;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 70px 0 30px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 300px;
}

.brand-text h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.brand-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.link-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
}

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

.link-column li {
    margin-bottom: 12px;
}

.link-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column;
        margin: 0 auto;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .link-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .step-connector {
        display: none;
    }
    
    .action-cta {
        padding: 40px 25px;
    }
    
    .action-cta h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}
