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

:root {
    /* Colores de la marca Brickora */
    --primary-dark: #1a1a1a;
    --primary-blue: #2c3e50;
    --accent-gold: #d4af37;
    --background-cream: #f8f6f0;
    --background-white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-light: #e9ecef;
    --gradient-gold: linear-gradient(135deg, var(--accent-gold), #f4d03f);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

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

/* Header */
.header {
    background-color: var(--background-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: multiply;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
    background-color: var(--background-white);
    padding: 4rem 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 500px;
}

.hero-content {
    max-width: none;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.checkmark {
    font-size: 1.1rem;
}

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

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

/* Botones CTA */
.cta-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.cta-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--accent-gold);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.cta-secondary:hover {
    background: var(--accent-gold);
    color: var(--background-white);
    transform: translateY(-2px);
}

.cta-trust {
    background: var(--primary-dark);
    color: var(--background-white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.cta-trust:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-final {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 2rem;
}

.cta-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

/* Secciones alternadas */
.info-section {
    background-color: var(--background-white);
    padding: 5rem 0;
}

.steps-section {
    background-color: var(--background-cream);
    padding: 5rem 0;
}

.features-section {
    background-color: var(--background-white);
    padding: 5rem 0;
}

.closing-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--background-white);
    padding: 6rem 0;
    text-align: center;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.closing-section .section-title {
    color: var(--background-white);
}

.section-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.7;
}

/* Misión y Visión */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.mission, .vision {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    text-align: left;
    position: relative;
}

.mission-header, .vision-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mission-icon, .vision-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-target {
    width: 16px;
    height: 16px;
    background-color: var(--primary-dark);
    border-radius: 50%;
}

.icon-eye {
    width: 16px;
    height: 16px;
    background-color: var(--primary-dark);
    border-radius: 50%;
    position: relative;
}

.icon-eye::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    background: transparent;
}

.icon-eye::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 50%;
}

.mission h3, .vision h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.mission p, .vision p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Ecosistema */
.ecosystem {
    margin-top: 4rem;
    text-align: center;
}

.ecosystem h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-weight: 600;
}

.ecosystem-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.ecosystem-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
}

/* Pasos */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.step-number {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.feature-category {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

.feature-category h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Closing */
.closing-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--background-white);
    padding: 4rem 0 2rem;
}

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

.footer-column h3 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    background: transparent;
    mix-blend-mode: multiply;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--background-white);
}

.footer-tagline {
    color: var(--background-white);
    margin-bottom: 1rem;
    font-style: italic;
}

.footer-email {
    color: var(--accent-gold);
    font-weight: 500;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--background-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    color: var(--background-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .hero-image {
        max-width: 350px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ecosystem-image {
        max-width: 350px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-primary, .cta-final {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .mission, .vision, .step, .feature-category {
        padding: 1.5rem;
    }
}