/* Variables globales */
:root {
    --primary: #F4A261;
    --primary-dark: #E76F51;
    --primary-light: #FDCBA4;
    --secondary: #333;
    --accent: #2A9D8F;
    --bg-color: #fff;
    --bg-alt: #f9f9f9;
    --text-color: #333;
    --text-light: #777;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --glow: 0 0 15px rgba(244, 162, 97, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    background-color: var(--bg-color);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Fondo con patrón geométrico sutil */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, rgba(244, 162, 97, 0.03) 25px, transparent 25px, transparent 50px),
                      repeating-linear-gradient(135deg, rgba(231, 111, 81, 0.03) 25px, transparent 25px, transparent 50px);
    z-index: -1;
    pointer-events: none;
}

/* Header y Navegación */
.header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 26px;
    position: relative;
}

.logo-text {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.logo-accent {
    color: var(--accent);
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-weight: 600;
    color: var(--text-color);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-dark);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    display: none;
    background-color: #fff;
    padding: 20px;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 80px;
    left: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.highlight {
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--primary);
    opacity: 0.3;
    border-radius: 10px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow), var(--shadow);
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -75%;
    }
    20% {
        left: 125%;
    }
    100% {
        left: 125%;
    }
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.tag-icon {
    fill: var(--primary);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.angle-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to right bottom, transparent 49%, var(--bg-alt) 50%);
}

/* Features Section */
.features {
    background-color: var(--bg-alt);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.feature-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.feature-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Process Section */
.process {
    padding: 80px 0;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: var(--bg-alt);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-content h3 {
    margin-bottom: 15px;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step-connector {
    display: flex;
    align-items: center;
    margin: 0 -5px;
}

.cta-box {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow);
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

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

.cta-box .btn-primary {
    background: #fff;
    color: var(--primary-dark);
}

.cta-box .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* FAQ Section */
.faq {
    background-color: var(--bg-alt);
    padding: 80px 0;
}

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

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

.faq-question {
    padding: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--primary-dark);
    transition: var(--transition);
}

.faq-toggle::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.faq-toggle::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.faq-item.active .faq-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Footer */
.footer {
    background-color: #2d2d2d;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.7;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

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

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-favicon {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

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

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-favicon {
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 30px;
    }
}

@media screen and (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
    }
    
    .hero-visual {
        order: 0;
        height: 300px;
    }
    
    .hero-actions {
        align-items: center;
    }
    
    .hero-tags {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 100%;
    }
    
    .step-connector {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
}
