/*
 * undressingCL.pw - Main Stylesheet
 * Diseño único para audiencia chilena
 */

:root {
    --primary: #10B981;
    --secondary: #3B82F6;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --text-color: #333;
    --text-light: #666;
    --text-inverted: #fff;
    --bg-color: #fff;
    --bg-light: #f8fafb;
    --bg-dark: #1a202c;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    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;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

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

ul {
    list-style: none;
}

.accent {
    color: var(--primary);
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Background Shapes */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.shape-1 {
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: var(--primary);
}

.shape-2 {
    bottom: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: var(--secondary);
}

.shape-3 {
    top: 40%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: var(--text-inverted);
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-inverted);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

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

header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
}

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

.logo h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0;
}

.logo h1 span {
    color: var(--primary);
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    position: absolute;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

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

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

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

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
}

.badge-icon {
    width: 18px;
    height: 18px;
}

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

.hero-image {
    width: 100%;
    max-width: 450px;
    animation: float 6s ease-in-out infinite;
}

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

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
}

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

.benefit-card {
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

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

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

/* How it works */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafb 0%, #e6f7f1 100%);
}

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

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 0 20px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--text-inverted);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step-connector {
    height: 3px;
    background-color: var(--primary);
    flex: 1;
    max-width: 100px;
    margin-top: 20px;
    position: relative;
    opacity: 0.5;
}

.step-connector::before,
.step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.step-connector::before {
    left: 0;
}

.step-connector::after {
    right: 0;
}

.step-content {
    margin-bottom: 30px;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

.step-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto 0;
}

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

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

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

.faq-item {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    background-color: white;
    box-shadow: var(--shadow-md);
}

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

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

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    transition: var(--transition);
}

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

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

/* Call to Action */
.call-to-action {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--text-inverted);
    text-align: center;
}

.call-to-action h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.call-to-action p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.call-to-action .btn-primary {
    background: white;
    color: var(--primary);
}

.call-to-action .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background-color: var(--bg-dark);
    color: var(--text-inverted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    max-width: 320px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.brand-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.brand-info h3 span {
    color: var(--primary);
}

.brand-info p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 60px;
}

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

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--text-inverted);
    transform: translateX(5px);
}

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

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

/* Media Queries */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-brand {
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .footer-links {
        gap: 30px;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        margin-bottom: 40px;
    }
    
    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        opacity: 0;
        z-index: 90;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .badge-container {
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .call-to-action h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
}
