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

:root {
    --primary: #ff80bd;
    --secondary-pink: #E83C88;
    --secondary-teal: #00B2B1;
    --secondary-purple: #9C5AA0;
    --secondary-yellow: #FED33E;
    --background: #fdf8fa;
    --text-dark: #333333;
    --text-gray: #666666;
    --border-light: rgba(255, 128, 189, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header */
header {
    background: rgba(253, 248, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary-pink);
    font-style: italic;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

nav a:hover {
    color: var(--primary);
    background-color: rgba(255, 128, 189, 0.1);
}

/* Botones especiales del nav */
.btn-register {
    background: var(--primary) !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
}

.btn-register:hover {
    background: var(--secondary-pink) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 60, 136, 0.3);
}

.btn-logout {
    color: var(--text-gray) !important;
    border: 1px solid var(--border-light) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
}

.btn-logout:hover {
    background-color: rgba(255, 128, 189, 0.1) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary-pink));
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    margin-top: 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: 'Georgia', serif;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 128, 189, 0.2), rgba(232, 60, 136, 0.2));
    color: var(--secondary-pink);
    border: 2px solid rgba(255, 128, 189, 0.5);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 128, 189, 0.3), rgba(232, 60, 136, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232, 60, 136, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out;
}

.image-placeholder {
    background: linear-gradient(135deg, #fff 0%, #fef5f9 100%);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(232, 60, 136, 0.15);
    border: 1px solid var(--border-light);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.image-placeholder svg {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-pink);
    margin-bottom: 3rem;
    font-family: 'Georgia', serif;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(232, 60, 136, 0.15);
    border-color: rgba(255, 128, 189, 0.4);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.icon-teal {
    background-color: rgba(0, 178, 177, 0.1);
    color: var(--secondary-teal);
}

.icon-purple {
    background-color: rgba(156, 90, 160, 0.1);
    color: var(--secondary-purple);
}

.icon-yellow {
    background-color: rgba(254, 211, 62, 0.1);
    color: var(--secondary-yellow);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--background) 0%, #fff 100%);
}

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

.testimonial-card {
    background: rgba(255, 128, 189, 0.08);
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232, 60, 136, 0.1);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

.avatar-pink {
    background: linear-gradient(135deg, var(--primary), var(--secondary-pink));
}

.avatar-purple {
    background: linear-gradient(135deg, var(--secondary-purple), #7d4687);
}

.author-info h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Footer */
footer {
    background: linear-gradient(180deg, #fff 0%, #fef5f9 100%);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-pink);
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
}

.footer-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.copyright {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

/* Auth Pages Styles */
.auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
}

.auth-container {
    background: white;
    border-radius: 2rem;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(232, 60, 136, 0.12);
    border: 1px solid var(--border-light);
    animation: fadeInUp 0.6s ease-out;
}

.auth-container-large {
    max-width: 700px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(255, 128, 189, 0.1), rgba(232, 60, 136, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-pink);
}

.auth-icon svg {
    width: 40px;
    height: 40px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
}

.auth-subtitle {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-pink);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 128, 189, 0.2);
}

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

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-icon {
    width: 18px;
    height: 18px;
    color: var(--secondary-pink);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 128, 189, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

.help-text {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.4rem;
    line-height: 1.5;
}

.btn-auth {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary-pink));
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 60, 136, 0.3);
}

.btn-auth:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.auth-footer p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--secondary-pink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    nav ul {
        gap: 1rem;
    }

    nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .auth-wrapper {
        padding: 2rem 1rem;
    }
    
    .auth-container {
        padding: 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-icon {
        width: 60px;
        height: 60px;
    }
    
    .auth-icon svg {
        width: 30px;
        height: 30px;
    }
}