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

:root {
    --primary: #FF5722;
    --primary-dark: #E64A19;
    --primary-light: #FFCCBC;
    --bg-light: #FBE9E7;
    --accent: #FF9800;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --text-gray: #757575;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 8px;
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #FFFFFF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-dark);
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn.primary {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}

.btn.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn.large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 87, 34, 0.4);
}

.btn.secondary:hover {
    background: rgba(255, 87, 34, 0.1);
    transform: translateY(-3px);
}

/* Header */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 12px 0;
    transition: var(--transition);
}

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

.logo-wrap {
    z-index: 1001;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-icon {
    margin-right: 10px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--primary);
    color: var(--text-light) !important;
    padding: 8px 20px !important;
    border-radius: 30px;
}

.btn-nav:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
}

.btn-nav::after {
    display: none;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 60px 20px 140px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1, .hero-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin-left: 30px;
}

.hero-svg {
    width: 100%;
    height: auto;
}

.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #FFFFFF;
}

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

.feature-card {
    background: #FFFFFF;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 87, 34, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-icon {
    margin-bottom: 20px;
    display: inline-block;
}

/* How It Works Section */
.how-it-works {
    position: relative;
    padding: 80px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.wave.top-wave {
    top: -1px;
    bottom: auto;
    transform: rotate(180deg);
}

.wave.bottom-wave {
    bottom: -1px;
    transform: rotate(0deg);
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin: 50px 0;
}

.step {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary);
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step-content {
    background: #FFFFFF;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    width: 100%;
}

.step-icon {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.arrow {
    display: flex;
    align-items: center;
    margin: 0 -10px;
}

.cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #FFFFFF;
}

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

.testimonial-card {
    background: #FFFFFF;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary);
    position: relative;
}

.quote {
    position: absolute;
    top: 15px;
    right: 20px;
    opacity: 0.6;
}

.testimonial-card p {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Main CTA Section */
.main-cta {
    padding: 80px 0;
    background: #FFFFFF;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.cta-box h2 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.keywords span {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    position: relative;
    padding: 80px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    background: #FFFFFF;
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(255, 87, 34, 0.05);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 20px 20px;
}

/* Footer */
.site-footer {
    background: #212121;
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    opacity: 0.8;
    margin-top: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.4rem;
}

.footer-logo svg {
    margin-right: 10px;
}

.footer-links h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.keywords {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
        padding: 40px 20px 120px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-left: 0;
        max-width: 400px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: #FFFFFF;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding: 80px 30px 30px;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .main-nav a {
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        min-width: 100%;
    }
    
    .arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .btn.large {
        padding: 12px 25px;
    }
    
    .cta-box {
        padding: 40px 20px;
    }
}
