/* RESET & BASE STYLES */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #F4F4F5;
    background: #0F172A;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #F59E0B;
    transition: all 0.3s ease;
}

a:hover {
    color: #F43F5E;
}

ul, ol {
    list-style-position: inside;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
    animation-delay: 0.2s;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #1E3A8A, #F43F5E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    background: linear-gradient(45deg, #1E3A8A, #F43F5E);
    background-clip: text;
    font-weight: 800;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #F59E0B;
    margin: 0.5rem auto;
}

/* BUTTONS */
.cta-button {
    display: inline-block;
    background-color: #F59E0B;
    color: #0F172A;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    background-color: #F43F5E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
    color: #F4F4F5;
}

.service-link,
.pricing-button {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #F59E0B;
    color: #F59E0B;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
}

.service-link:hover,
.pricing-button:hover {
    background-color: #F59E0B;
    color: #0F172A;
    transform: translateY(-2px);
}

/* HEADER */
.site-header {
    background: rgba(15, 23, 42, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-header .logo,
.site-header .menu-toggle,
.site-header .main-nav {
    display: flex;
    align-items: center;
}

.logo {
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    height: 100%;
}

.main-nav a {
    color: #E5E7EB;
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F59E0B;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.cta-button {
    color: #0F172A;
}

.main-nav a.cta-button:hover {
    color: #F4F4F5;
}

.main-nav a.cta-button::after {
    display: none;
}

.menu-toggle {
    display: none;
}

/* SECTIONS */
section {
    padding: 5rem 0;
    position: relative;
}

/* Ajuste para anclas y navegación con header fijo */
section[id] {
    scroll-margin-top: 85px;
}

section:nth-child(odd) {
    background: linear-gradient(45deg, #1E3A8A, #F43F5E);
}

section:nth-child(even) {
    background: #0F172A;
}

/* HERO SECTION */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(45deg, #1E3A8A, #F43F5E);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.2);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    -webkit-text-fill-color: #F4F4F5;
    text-fill-color: #F4F4F5;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ABOUT SECTION */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1 1 400px;
}

.about-features {
    flex: 1 1 400px;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.2);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
}

.emerald-icon svg {
    color: #10B981;
}

.feature-text h3 {
    margin-bottom: 0.5rem;
}

/* BENEFITS SECTION */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.3);
}

.benefit-icon {
    margin: 0 auto 1rem;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon img {
    transform: scale(1.05);
}

/* SERVICES SECTION */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.8), rgba(244, 63, 94, 0.8));
    border-radius: 8px;
    padding: 2rem;
    flex: 1 1 300px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.3);
}

.service-features {
    list-style-type: none;
    margin: 1rem 0;
}

.service-features li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M15 5L6.75 12.75L3 9' stroke='%2310B981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* PROCESS SECTION */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    height: 100%;
    width: 2px;
    background: #F59E0B;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    background: #F59E0B;
    color: #0F172A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    z-index: 1;
}

.timeline-content {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

/* TESTIMONIALS SECTION */
.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    flex: 1 1 300px;
    max-width: 380px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.3);
}

.testimonial-content {
    position: relative;
    padding: 1rem 0;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 3rem;
    color: #F59E0B;
    position: absolute;
    opacity: 0.3;
}

.testimonial-content::before {
    top: -10px;
    left: -10px;
}

.testimonial-content::after {
    bottom: -40px;
    right: -10px;
    content: '"';
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: #E5E7EB;
    margin-bottom: 0;
}

/* PRICING SECTION */
.pricing-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.pricing-card {
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.8), rgba(244, 63, 94, 0.8));
    border-radius: 8px;
    padding: 2rem;
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    padding-top: 3rem;
    padding-bottom: 3rem;
    transform: scale(1.05);
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #F59E0B;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.pricing-features ul {
    list-style-type: none;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 25px;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M15 5L6.75 12.75L3 9' stroke='%2310B981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* CONTACT SECTION */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.2);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(229, 231, 235, 0.3);
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.8);
    color: #F4F4F5;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
    accent-color: #10B981;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.875rem;
}

.submit-button {
    display: block;
    width: 100%;
    background-color: #F59E0B;
    color: #0F172A;
    font-weight: bold;
    padding: 0.75rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #F43F5E;
    color: #F4F4F5;
}

/* FOOTER */
.site-footer {
    background: #111827;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: #F59E0B;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: #F59E0B;
}

.footer-nav,
.contact-info {
    list-style: none;
}

.footer-nav li,
.contact-info li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: #E5E7EB;
}

.footer-nav a:hover {
    color: #F59E0B;
}

.contact-info li {
    color: #E5E7EB;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(229, 231, 235, 0.1);
    color: #E5E7EB;
    font-size: 0.875rem;
}

/* COOKIE POPUP */
.cookie-popup {
    position: fixed;
    bottom: -150px;
    left: 0;
    right: 0;
    background: #111827;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: auto;
    opacity: 0;
    visibility: hidden;
}

.cookie-popup.show {
    bottom: 0;
    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1 1 300px;
}

.cookie-btn {
    background-color: #F59E0B;
    color: #111827;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    background-color: #F43F5E;
    color: #F4F4F5;
}

/* POLICY PAGES */
.policy-section {
    padding: 5rem 0;
    background: #0F172A;
}

.policy-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #1E3A8A, #F43F5E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.5);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #10B981;
}

.policy-content h2 {
    color: #F59E0B;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content ul {
    margin-bottom: 1.5rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
}

/* THANKS PAGE */
.thanks-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background: linear-gradient(45deg, #1E3A8A, #F43F5E);
}

.thanks-section .container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    background: rgba(15, 23, 42, 0.8);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 2px solid #F59E0B;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.thanks-content * {
    text-align: center;
}

.button-center {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
}

.thanks-content h1 {
    -webkit-text-fill-color: #F4F4F5;
    text-fill-color: #F4F4F5;
    margin-bottom: 1.5rem;
}

.thanks-content p {
    margin-bottom: 2rem;
}

.thanks-content #countdown {
    font-weight: bold;
    color: #F59E0B;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1280px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.03);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px) scale(1.03);
    }
}

@media (max-width: 1024px) {
    section {
        padding: 4rem 0;
    }
    
    .header-flex {
        height: auto;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.menu-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0F172A;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        height: auto;
    }
    
    .main-nav:not(.menu-open) {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
    }
    
    .burger-menu span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: #F4F4F5;
        transition: all 0.3s ease;
    }
    
    .cookie-popup {
        padding: 0.75rem;
    }
    
    .cookie-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .pricing-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pricing-card {
        max-width: 100%;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-btn {
        width: 100%;
        margin-top: 5px;
        background-color: #F59E0B;
        padding: 8px 15px;
        font-size: 14px;
        font-weight: bold;
    }
    
    .cookie-popup {
    padding: 0.3rem;
    bottom: -120px;
    max-height: 80px;
}
    
    .cookie-content p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .feature-item,
    .timeline-item,
    .service-card,
    .testimonial-card,
    .pricing-card {
        padding: 1rem;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .process-timeline::before {
        left: 18px;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .cookie-popup {
        max-height: 90px;
        padding: 0.5rem;
    }
    
    .cookie-content {
        align-items: center;
    }
    
    .cookie-content p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        background-color: #F59E0B;
        color: #111827;
        border: none;
        border-radius: 4px;
        display: block;
        width: 80%;
        margin: 0 auto;
    }
}