@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --rosa: #FF69B4;
    --negro: #1a1a1a;
    --purpura: #9370DB;
    --ciruela: #8B008B;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--negro);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.2px;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--negro) 0%, var(--ciruela) 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    min-height: 62px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--rosa), var(--purpura));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rosa);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--rosa);
    font-weight: bold;
}

.nav-menu a.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--rosa), var(--purpura));
    height: 3px;
    box-shadow: 0 0 10px var(--rosa);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--rosa);
    margin: 3px 0;
    transition: 0.3s;
}

/* Section spacing */
.section {
    scroll-margin-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--negro) 0%, var(--ciruela) 50%, var(--purpura) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-decoration {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--rosa) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    top: 10%;
    right: -10%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--rosa), var(--purpura));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: 1.1rem !important;
    color: #b0b0b0 !important;
    margin-bottom: 2rem !important;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--rosa), var(--purpura));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-top: 0.5rem;
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--rosa), var(--ciruela));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
    animation: fadeIn 1s ease-in 0.6s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.6);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--negro);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--rosa);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.1), rgba(139, 0, 139, 0.1));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 105, 180, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--rosa);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--purpura);
    margin-bottom: 0.8rem;
}

.feature-card > p {
    color: #e0e0e0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 1rem;
}

.feature-list li {
    color: #b0b0b0;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rosa);
    font-weight: bold;
}

.benefits-section {
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(139, 0, 139, 0.2), rgba(147, 112, 219, 0.2));
    border-radius: 20px;
    border: 1px solid var(--rosa);
}

.benefits-section h3 {
    text-align: center;
    color: var(--rosa);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e0e0e0;
}

.benefit-item span {
    font-size: 1.5rem;
    color: var(--rosa);
    font-weight: bold;
}

/* Download Section */
.download {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--ciruela), var(--negro));
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.download-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--rosa);
}

.download-container > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

.download-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--rosa);
    backdrop-filter: blur(10px);
}

.download-info h3 {
    color: var(--purpura);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.download-info > p {
    color: #e0e0e0;
    margin: 0.5rem 0;
}

.file-size {
    font-size: 0.9rem;
    color: var(--rosa);
}

.requirements, .included {
    text-align: left;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 3px solid var(--rosa);
}

.requirements h4, .included h4 {
    color: var(--purpura);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.requirements ul, .included ul {
    list-style: none;
    padding: 0;
}

.requirements ul li, .included ul li {
    color: #e0e0e0;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.requirements ul li::before, .included ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--rosa);
}

.download-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.btn-download {
    margin-top: 2rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--rosa), var(--ciruela));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 105, 180, 0.6);
}

.btn-download span {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background:
        radial-gradient(circle at 5% 10%, rgba(255, 105, 180, 0.12), transparent 25%),
        radial-gradient(circle at 95% 80%, rgba(147, 112, 219, 0.15), transparent 30%),
        var(--negro);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--rosa);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-card {
    background: linear-gradient(155deg, rgba(147, 112, 219, 0.16), rgba(139, 0, 139, 0.1));
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
    border: 2px solid transparent;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(5px);
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.7s ease;
}

.team-card:hover {
    border-color: var(--rosa);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.4);
}

.team-image {
    width: 220px;
    height: 220px;
    margin: 0 0 1.2rem;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid rgba(255, 105, 180, 0.7);
    box-shadow: 0 8px 22px rgba(255, 105, 180, 0.35);
    background: rgba(0, 0, 0, 0.45);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    cursor: zoom-in;
}

.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.image-modal.open {
    display: flex;
}

.image-modal img {
    max-width: min(95vw, 1200px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
}

.image-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    font-size: 2rem;
    line-height: 1;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.24);
}

.team-card h3 {
    color: var(--rosa);
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.team-role {
    color: var(--purpura);
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-description {
    color: #e0e0e0;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.dev-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.dev-tags span {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: rgba(255, 105, 180, 0.12);
    border: 1px solid rgba(255, 105, 180, 0.45);
    color: #ffd3ea;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
}

.expand-icon {
    font-size: 1.5rem;
    color: var(--rosa);
    margin-top: 0.8rem;
    transition: transform 0.3s ease;
    text-align: center;
}

.team-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.team-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
    opacity: 0;
    text-align: left;
}

.team-card.expanded .team-details {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.5rem;
}

.team-details h4 {
    color: var(--purpura);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.team-details h4:first-child {
    margin-top: 0;
}

.team-details ul {
    list-style: none;
    padding-left: 0;
}

.team-details ul li {
    color: #e0e0e0;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.team-details ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--rosa);
}

.team-details p {
    color: #e0e0e0;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--negro), var(--ciruela));
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--rosa);
}

.contact > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    min-width: 220px;
    border: 1px solid rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--rosa);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
}

.contact-item span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.contact-item h4 {
    color: var(--purpura);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: #e0e0e0;
    margin: 0.3rem 0;
}

.contact-detail {
    font-size: 0.9rem;
    color: #b0b0b0 !important;
}

.faq-section {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 105, 180, 0.3);
}

.faq-section h3 {
    color: var(--rosa);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--rosa);
}

.faq-item h4 {
    color: var(--purpura);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #e0e0e0;
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--negro);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--rosa);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        left: -100%;
        top: 78px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 1.5rem 0 2rem;
        gap: 1.4rem;
        border-top: 1px solid rgba(255, 105, 180, 0.35);
    }
    
    .nav-menu.active {
        left: 0;
    }

    .hero {
        min-height: auto;
        padding: 110px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero-stats {
        gap: 1.4rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 1.95rem;
    }

    .features,
    .download,
    .about,
    .contact {
        padding: 4rem 1rem;
    }

    .features h2,
    .download-container h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }

    .features-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .download-box,
    .benefits-section {
        padding: 1.5rem;
    }

    .team-card {
        padding: 1.6rem;
    }

    .team-image {
        width: 160px;
        height: 160px;
        margin-bottom: 1rem;
    }

    .team-card h3 {
        font-size: 1.35rem;
    }

    .contact-item {
        min-width: unset;
        width: 100%;
    }
    
    .team-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1080px) {
    .nav-container,
    .hero-content,
    .features,
    .download,
    .about,
    .contact {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .team-container {
        gap: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-up.visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
