/*========================================================================
    GLOBAL STYLES
========================================================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

/*========================================================================
    HEADER
========================================================================*/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link.login {
    color: #5b7cfa;
}

.nav-link.login:hover {
    background: #f5f7ff;
}

.nav-link.registro {
    background: #5b7cfa;
    color: white;
}

.nav-link.registro:hover {
    background: #4a6ae8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 124, 250, 0.3);
}

/*========================================================================
    HERO SECTION
========================================================================*/
.hero {
    margin-top: 80px;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 124, 250, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(91, 124, 250, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

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

.hero-visual img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    animation: floatImage 6s infinite ease-in-out;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-primary {
    display: inline-block;
    background: linear-gradient(135deg, #5b7cfa 0%, #4a6ae8 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(91, 124, 250, 0.25);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(91, 124, 250, 0.35);
}

.trial-text {
    margin-top: 1.5rem;
    color: #888;
    font-size: 0.95rem;
}

.trial-highlight {
    color: #5b7cfa;
    font-weight: 600;
}

.pricing {
    margin-top: 0.5rem;
    font-size: .8rem;
    color: #5b7cfa;
}

/*========================================================================
    BENEFIT SECTIONS
========================================================================*/
.benefit-section {
    padding: 6rem 2rem;
}

.benefit-section.alternate {
    background: #fafbff;
}

.benefit-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefit-container.reverse {
    direction: rtl;
}

.benefit-container.reverse > * {
    direction: ltr;
}

.benefit-text h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.benefit-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.benefit-features {
    list-style: none;
}

.benefit-features li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #444;
    font-size: 1rem;
}

.benefit-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5b7cfa;
    font-weight: bold;
    font-size: 1.2rem;
}

.benefit-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.benefit-image:hover {
    transform: scale(1.02);
}

.benefit-image img {
    width: 100%;
    height: auto;
    display: block;
}

/*========================================================================
    STATS SECTION
========================================================================*/
.stats-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #5b7cfa 0%, #4a6ae8 100%);
    color: white;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/*========================================================================
    FEATURES GRID
========================================================================*/
.features-grid-section {
    padding: 6rem 2rem;
    text-align: center;
}

.features-grid-section h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 4rem;
    color: #1a1a1a;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #5b7cfa;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/*========================================================================
    FAQ SECTION
========================================================================*/
.faq-section {
    padding: 6rem 2rem;
    background: #fafbff;
}

.faq-section h2 {
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

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

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #5b7cfa;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.faq-item summary:hover {
    color: #5b7cfa;
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.7;
}

/*========================================================================
    CTA SECTION
========================================================================*/
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.cta-section h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.cta-section > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/*========================================================================
    DEVELOPER SECTION
========================================================================*/
.developer-section {
    padding: 3rem 2rem;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

.developer-container h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.developer-container p {
    color: #aaa;
    margin-bottom: 1rem;
}

.developer-link {
    color: #5b7cfa;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.developer-link:hover {
    color: #7a96fb;
}

/*========================================================================
    FOOTER
========================================================================*/
.footer {
    padding: 2rem;
    background: #0f0f0f;
    color: #888;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/*========================================================================
    PRICING PAGE
========================================================================*/
main {
    margin-top: 80px; /* Adjust based on header height */
}

.pricing-container {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.pricing-container h1 {
    color: #2d3748;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    color: #4a5568;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 40px;
}

.pricing-card {
    background-color: white;
    padding: 30px 35px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.pricing-card h2 {
    color: #2d3748;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin: 0;
}

.plan-description {
    color: #718096;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-top: 5px;
}

.price-section {
    margin: 30px 0;
    padding: 20px;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.price-display {
    margin-bottom: 15px;
}

.price {
    font-size: clamp(3rem, 8vw, 4rem);
    font-weight: 800;
    color: #4c53af;
    margin: 0;
    line-height: 1;
}

.price span {
    font-size: 0.4em;
    font-weight: 600;
    color: #718096;
    margin-left: 5px;
}

.billing-cycle {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #4a5568;
    margin-top: 5px;
    font-weight: 500;
}

.daily-cost {
    background-color: #e6fffa;
    color: #2c7a7b;
    padding: 10px 15px;
    border-radius: 25px;
    display: inline-block;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
}

.daily-cost strong {
    color: #285e61;
}

.value-prop {
    background-color: #ebf4ff;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #4c53af;
    text-align: left;
}

.value-prop p {
    margin: 0;
    color: #2d3748;
    line-height: 1.6;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.value-prop p:first-child {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: #2c5282;
    font-weight: 600;
    margin-bottom: 8px;
}

.features-section {
    margin-top: 30px;
}

.features-section h3 {
    color: #2d3748;
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    margin-bottom: 20px;
}

.features-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.features-section li {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.5;
    color: #4a5568;
}

.cta-button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #5b7cfa 0%, #4a6ae8 100%);
    color: white;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(91, 124, 250, 0.25);
    text-decoration: none;
    display: block;
    text-align: center;
}

.cta-button:hover {
    background: linear-gradient(135deg, #4a6ae8 0%, #3c438a 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(91, 124, 250, 0.35);
}

.guarantee {
    margin-top: 20px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: #718096;
}

.testimonial-box {
    margin-top: 40px;
    padding: 25px;
    border-radius: 10px;
    background-color: white;
    border-left: 4px solid #38a169;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.testimonial-quote {
    font-style: italic;
    color: #4a5568;
    margin: 0 0 15px 0;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.testimonial-author {
    font-weight: bold;
    color: #2d3748;
    margin: 0;
}

/*========================================================================
    HAMBURGER MENU
========================================================================*/
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/*========================================================================
    IMAGE MODAL
========================================================================*/
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-modal.show {
    opacity: 1;
    visibility: visible;
}

.image-modal-content {
    position: relative;
    max-width: 1000px;
    width: 90%;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}


/*========================================================================
    RESPONSIVE
========================================================================*/
@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 2rem;
    }

    .hero {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .benefit-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefit-container.reverse {
        direction: ltr;
    }

    .stats-container {
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-section ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 765px) {
    .header-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
    }

    .header-nav.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero-visual {
        display: none;
    }
}