/*  VARIABLES Y RESET  */
:root {
    /* Modo oscuro */
    --bg: #1A1A1A;
    --card: #2D2D2D;
    --text: #E0E0E0;
    --accent: #FFD700;
    --accent-hover: #FFE44D;
    --accent-secondary: #FFA500;
    --heading: #FFFFFF;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.2);
    --bg-secondary: #1A1A1A;
    --text-secondary: #B0B0B0;
}

[data-theme="light"] {
    --bg: #FAFAFA;
    --card: #FFFFFF;
    --section-alt: #F1F3F6;
    --text: #232323;
    --accent: #FFD600;
    --accent-hover: #FFF176;
    --accent-secondary: #FFB800;
    --heading: #181818;
    --border: rgba(0, 0, 0, 0.10);
    --shadow: rgba(0, 0, 0, 0.13);
    --bg-secondary: #F5F5F5;
    --text-secondary: #666666;
}

[data-theme="light"] body {
    background: var(--bg);
    color: var(--text);
}

[data-theme="light"] .container {
    background: transparent;
}

[data-theme="light"] .simple-header {
    background: #fff;
    backdrop-filter: blur(12px);
    border-bottom: 1.5px solid var(--border);
    box-shadow: 0 2px 16px 0 var(--shadow);
}

[data-theme="light"] .logo-svg text {
    fill: var(--accent);
}
[data-theme="light"] .logo-svg text:last-of-type {
    fill: var(--heading);
}
[data-theme="light"] .logo-svg path {
    stroke: var(--accent);
}

[data-theme="light"] .hero-boceto-left h1,
[data-theme="light"] .benefits h2,
[data-theme="light"] .causes h2,
[data-theme="light"] .security h2,
[data-theme="light"] .faq h2,
[data-theme="light"] .cta-section h2 {
    color: var(--heading);
}

[data-theme="light"] .hero-boceto-left .highlight {
    color: var(--accent);
}

[data-theme="light"] .hero-boceto-left .btn-primary,
[data-theme="light"] .cta-section .btn-primary {
    background: var(--accent);
    color: var(--heading);
    box-shadow: 0 2px 8px var(--shadow);
}
[data-theme="light"] .hero-boceto-left .btn-primary:hover,
[data-theme="light"] .cta-section .btn-primary:hover {
    background: var(--accent-hover);
    color: var(--heading);
}

[data-theme="light"] .hero-badges .badge {
    background: #fff;
    color: var(--accent-secondary);
    border: 1.5px solid var(--accent-secondary);
    box-shadow: 0 2px 8px var(--shadow);
}
[data-theme="light"] .hero-badges .badge svg {
    stroke: var(--accent-secondary);
}
[data-theme="light"] .hero-badges .badge:hover {
    background: var(--accent-secondary);
    color: #fff;
    border-color: var(--accent);
}
[data-theme="light"] .hero-badges .badge:hover svg {
    stroke: #fff;
}

[data-theme="light"] .mockup-frame {
    background: #fff;
    box-shadow: 0 8px 32px var(--shadow);
}
[data-theme="light"] .mockup-notch {
    background: #f3f3f3;
}
[data-theme="light"] .mockup-shadow {
    background: rgba(0,0,0,0.10);
}

[data-theme="light"] .benefits,
[data-theme="light"] .security {
    background: var(--bg);
}
[data-theme="light"] .causes {
    background: #fff;
}
[data-theme="light"] .faq {
    background: var(--section-alt);
}

[data-theme="light"] .benefit-card,
[data-theme="light"] .cause-card,
[data-theme="light"] .security-card,
[data-theme="light"] .faq-item {
    background: var(--card);
    border: 1.5px solid var(--border);
    box-shadow: 0 4px 16px var(--shadow);
}
[data-theme="light"] .benefit-card h3,
[data-theme="light"] .cause-card h3,
[data-theme="light"] .security-card h3,
[data-theme="light"] .faq-item h3 {
    color: var(--accent-secondary);
    border-left: none;
    padding-left: 0;
}
[data-theme="light"] .benefit-card:hover,
[data-theme="light"] .cause-card:hover,
[data-theme="light"] .security-card:hover,
[data-theme="light"] .faq-item:hover {
    background: var(--section-alt);
    box-shadow: 0 8px 24px var(--shadow);
}

[data-theme="light"] .steps {
    background: #fff;
    border: 1.5px solid var(--border);
}
[data-theme="light"] .step h3 {
    color: var(--accent-secondary);
}
[data-theme="light"] .cta-section {
    background: var(--accent-hover);
    color: #232323;
}
[data-theme="light"] .cta-section .btn-primary {
    background: var(--accent);
    color: var(--heading);
}
[data-theme="light"] .cta-section .btn-primary:hover {
    background: var(--accent-hover);
    color: var(--heading);
}
[data-theme="light"] .cta-section .btn-secondary {
    background: transparent;
    color: #181818;
    border: 2px solid #181818;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: background 0.2s, color 0.2s, border 0.2s;
    min-width: 110px;
    line-height: 1;
    height: 56px;
}
[data-theme="light"] .cta-section .btn-secondary:hover {
    background: #181818;
    color: var(--accent);
    border-color: #181818;
}
[data-theme="light"] .carousel-button {
    background: #fff;
    border: 1.5px solid var(--border);
}
[data-theme="light"] .carousel-button svg {
    stroke: var(--accent-secondary);
}
[data-theme="light"] .carousel-button:hover {
    background: var(--accent-secondary);
}
[data-theme="light"] .carousel-button:hover svg {
    stroke: #fff;
}
[data-theme="light"] .carousel-dot {
    background: var(--border);
}
[data-theme="light"] .carousel-dot.active {
    background: var(--accent-secondary);
}
[data-theme="light"] .stat-number,
[data-theme="light"] .card-amount {
    color: var(--accent-secondary);
    font-weight: 700;
}
[data-theme="light"] .breadcrumbs {
    color: var(--accent-secondary);
}
[data-theme="light"] .theme-toggle {
    background: #fff;
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 8px var(--shadow);
}
[data-theme="light"] .theme-toggle svg {
    stroke: var(--accent-secondary);
}
[data-theme="light"] .theme-toggle:hover {
    background: var(--accent-hover);
}
[data-theme="light"] .theme-toggle:hover svg {
    stroke: #232323;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
    /* overflow-x: hidden; */
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* CONTENEDOR */
.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 100;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.left-header {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.logo-svg {
    max-width: 200px;
    max-height: 100px;
}

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

nav a {
    margin-left: 1.5rem;
    font-weight: 500;
    white-space: nowrap;
}

nav a.cta {
    background: var(--accent);
    color: var(--bg);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

nav a.cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.theme-toggle {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.theme-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--accent);
    transition: all 0.3s ease;
}

.theme-toggle:hover svg {
    stroke: var(--accent-hover);
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

[data-theme="light"] .sun-icon {
    display: block;
}

[data-theme="light"] .moon-icon {
    display: none;
}

/* BREADCRUMBS */
.breadcrumbs {
    color: var(--accent);
    font-size: 0.9rem;
    margin: 1rem 0;
}

/* HERO SECTION */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--heading);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text);
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    text-shadow: 0 2px 4px var(--shadow);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    padding: 1.2rem 3.8rem;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 220px;
    line-height: normal;
    height: 56px;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.floating-card {
    position: absolute;
    right: 10%;
    top: 20%;
    background: var(--card);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

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

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-label {
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.8;
}

.card-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    text-shadow: 0 2px 4px var(--shadow);
}

.card-project {
    font-size: 0.9rem;
    color: var(--text);
}

/* STEPS SECTION */
.steps {
    background: var(--card);
    border-radius: 16px;
    padding: 3rem 1rem;
    margin: 4rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 1rem;
}

.step h3 {
    color: var(--accent-secondary);
}

.step p {
    font-size: 0.95rem;
}

/* BENEFITS SECTION */
.benefits {
    padding: 4rem 0;
    text-align: center;
}

.benefits h2 {
    color: var(--heading);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.benefits h2 .highlight {
    color: var(--accent);
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: 1px;
    background: none;
}

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

.benefit-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

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

.benefit-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px var(--shadow);
}

/* CAUSES SECTION */
.causes {
    background: var(--card);
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
}

.causes h2 {
    color: var(--heading);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.causes-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: hidden;
}

.causes-carousel {
    overflow: hidden;
    margin: 0 -1rem;
}

.causes-track {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    animation: scroll 30s linear infinite;
}

.causes-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 2rem));
    }
}

.cause-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    background: var(--bg);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

.cause-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow);
}

.cause-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.carousel-button:hover {
    background: var(--accent);
}

.carousel-button:hover svg {
    stroke: var(--bg);
}

.carousel-button svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--accent);
    transition: all 0.3s ease;
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .cause-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .cause-card {
        flex: 0 0 calc(100% - 2rem);
    }
    
    .causes-container {
        padding: 0 1rem;
    }
}

/* SECURITY SECTION */
.security {
    padding: 6rem 0;
    background: var(--bg);
}

.security h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--heading);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.security-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow);
}

.security-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 50%;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.security-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent);
    transition: all 0.3s ease;
}

.security-card:hover .security-icon {
    transform: scale(1.1);
    background: var(--accent);
}

.security-card:hover .security-icon svg {
    stroke: var(--bg);
}

.security-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px var(--shadow);
}

/* FAQ SECTION */
.faq {
    padding: 6rem 0;
    background: var(--card);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--heading);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    color: var(--accent);
    margin: 0;
    font-size: 1.1rem;
}

.faq-question::after {
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300BFA5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-question:hover {
    background: var(--card);
}

/* CTA SECTION */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    color: var(--bg);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-section .btn-primary {
    background: var(--bg);
    color: var(--accent);
}

.cta-section .btn-primary:hover {
    background: var(--card);
    color: var(--accent);
}

.cta-section .btn-secondary {
    background: transparent;
    color: #181818;
    border: 2px solid #181818;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: background 0.2s, color 0.2s, border 0.2s;
    min-width: 110px;
    line-height: 1;
    height: 56px;
}

.cta-section .btn-secondary:hover {
    background: #181818;
    color: var(--accent);
    border-color: #181818;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: #555;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    .floating-card {
        position: relative;
        right: auto;
        top: auto;
        margin: 2rem auto;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    header {
        padding: 0.75rem 0;
        flex-direction: column;
        justify-content: center;
    }

    nav {
        margin-top: 0.5rem;
        flex-wrap: wrap;
    }

    nav a {
        margin: 0.4rem 0.75rem 0 0;
        font-size: 0.9rem;
    }

    nav a.cta {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0.75rem 0;
    }
    .theme-toggle {
        right: 0.75rem;
        bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .security-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.hero .right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    perspective: 1000px;
}

.mockup-frame {
    position: relative;
    background: var(--card);
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: rotateY(-5deg);
    transition: transform 0.3s ease;
}

.mockup-frame img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}

.mockup-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 12px;
    background: var(--card);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 2;
}

.mockup-shadow {
    position: absolute;
    bottom: -20px;
    left: 5%;
    right: 5%;
    height: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(10px);
    transform: rotateX(80deg);
    z-index: -1;
}

@media (max-width: 1024px) {
    .mockup-container {
        max-width: 140px;
    }
}

@media (max-width: 768px) {
    .mockup-container {
        max-width: 110px;
    }
    .feature-image {
        padding: 1rem 0 0.7rem 0;
    }
}

/* HEADER SIMPLE */
.simple-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 2rem 3vw 1.5rem 3vw;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--border);
    margin: 0;
}

.simple-header .logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -1px;
}

.simple-nav {
    display: flex;
    gap: 2rem;
}

.simple-nav a {
    font-weight: 500;
    color: var(--text);
    font-size: 1.1rem;
    transition: color 0.2s;
}

.simple-nav a.cta {
    background: var(--accent);
    color: var(--bg);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}

.simple-nav a.cta:hover {
    background: var(--accent-hover);
    color: var(--bg);
}

.simple-nav a:hover {
    color: var(--accent);
}

/* @media (max-width: 900px) {
    .simple-header {
        padding: 1.2rem 2vw 1.2rem 2vw;
    }
} */

/* HERO BOCETO */
.hero-boceto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60vh;
    padding: 3rem 0 2rem 0;
    gap: 2rem;
}

.hero-boceto-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 280px;
}

.hero-boceto-left h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--heading);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-boceto-left .highlight {
    color: var(--accent);
    font-weight: 900;
    font-size: 3.2rem;
    letter-spacing: 1px;
    background: none;
}

.hero-boceto-left .btn-primary {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    margin-left: 0;
}

.hero-boceto-left .btn-secondary {
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

.hero-boceto-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* .hero-boceto-left .btn-primary + .btn-secondary {
    margin-left: 1rem;
} */

@media (max-width: 700px) {
    .hero-boceto-left .btn-primary,
    .hero-boceto-left .btn-secondary {
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
    }
    .hero-boceto-left .btn-primary + .btn-secondary {
        margin-top: 0.5rem;
    }
}

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

.hero-boceto-left .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text);
    opacity: 0.92;
    margin-bottom: 0.5rem;
    max-width: 32rem;
    line-height: 1.5;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card);
    color: var(--accent);
    border: 1.5px solid var(--accent);
    border-radius: 2rem;
    padding: 0.4rem 1.1rem 0.4rem 0.7rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--shadow);
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.badge svg {
    stroke: var(--accent);
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

.badge:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent-hover);
}

.badge:hover svg {
    stroke: var(--bg);
}

@media (max-width: 900px) {
    .hero-boceto {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-boceto-left, .hero-boceto-right {
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .hero-boceto-left h1 {
        font-size: 2.2rem;
    }
    .hero-boceto-left .highlight {
        font-size: 2.3rem;
    }
    .hero-badges {
        justify-content: center;
    }
    .hero-boceto-left .hero-subtitle {
        text-align: center;
        max-width: 100%;
    }
}

.header-inner {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 900px) {
    .header-inner {
        padding: 0 0.5rem;
    }
}

/* Sección de Características */
.features {
    padding: 4rem 2rem;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    position: relative;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
    align-items: stretch;
}

.feature-card {
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 4px 12px var(--shadow);
    border: 1px solid var(--border);
    min-height: 480px;
    height: 100%;
}

.feature-content {
    padding: 0.5rem 1.2rem 0.7rem 1.2rem;
    text-align: center;
    background: var(--card);
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
}

.feature-content h3 {
    font-size: 1.54rem;
    color: var(--accent);
    font-weight: 700;
}

.feature-content p {
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 0.5rem 0 0 0;
    color: var(--text-secondary);
}

.feature-image {
    width: 100%;
    min-height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0 1rem 0;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.highlight-text {
    color: var(--accent);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    display: none;
}

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

.feature-card:hover .feature-content h3::after {
    width: 60px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
    .feature-card {
        min-height: 420px;
    }
    .feature-image {
        min-height: 150px;
    }
    .feature-content {
        min-height: 120px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 2rem 1rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
        gap: 1.2rem;
    }
    .feature-card {
        min-height: 0;
    }
    .feature-image {
        min-height: 100px;
    }
    .feature-content {
        min-height: 100px;
    }
    .simple-nav {
        display: none;
    }
}

.mockup-container.hero-mockup {
    max-width: 320px;
    min-width: 180px;
    width: 100%;
}

@media (max-width: 900px) {
    .mockup-container.hero-mockup {
        max-width: 240px;
    }
}

@media (max-width: 600px) {
    .mockup-container.hero-mockup {
        max-width: 170px;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0;
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 1.1rem 1.3rem;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.2s, color 0.2s, border 0.2s;
    min-width: 110px;
    line-height: 1;
    height: 56px;
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent-hover);
}

@media (max-width: 700px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.7rem;
        width: 100%;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-top: 0;
    }
    .hero-boceto-left .btn-primary {
        margin-top: 1rem;
    }
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: var(--card, #232323);
    color: var(--heading, #fff);
    border-radius: 28px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.32);
    padding: 3.2rem 3.2rem 2.2rem 3.2rem;
    max-width: 600px;
    width: 98vw;
    text-align: center;
    position: relative;
    animation: modalIn 0.5s cubic-bezier(.4,1.6,.6,1) 1;
}

.modal-emoji {
    font-size: 3.5rem;
    margin-bottom: 0.7rem;
    filter: drop-shadow(0 2px 8px var(--accent, #FFD700));
    user-select: none;
    pointer-events: none;
}

.modal-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.3rem;
    margin-top: -0.5rem;
}

.modal-icon svg {
    width: 70px;
    height: 70px;
    display: block;
}

.modal-title {
    font-size: 1.85rem;
    margin-bottom: 1.1rem;
    color: var(--accent, #FFD700);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
}

.modal-desc {
    font-size: 1.13rem;
    margin-bottom: 2.1rem;
    color: var(--text-secondary, #ccc);
    line-height: 1.5;
}

@keyframes modalIn {
    0% { transform: scale(0.85) translateY(60px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--accent, #FFD700);
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover {
    color: var(--accent-secondary, #FFA500);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-btn {
    background: transparent;
    color: var(--accent, #FFD700);
    border: 2px solid var(--accent, #FFD700);
    border-radius: 30px;
    font-weight: 600;
    padding: 0.9rem 1.7rem;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    text-decoration: none;
    outline: none;
    min-width: 120px;
    text-align: center;
    display: inline-block;
}

.modal-btn:hover, .modal-btn:focus {
    background: var(--accent, #FFD700);
    color: #181818;
    border-color: var(--accent-secondary, #FFA500);
}

@media (max-width: 600px) {
    .modal-content {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
        max-width: 98vw;
    }
    .modal-actions {
        flex-direction: column;
        gap: 0.7rem;
    }
}

.modal-accent {
    color: var(--accent, #FFD700);
    font-weight: 700;
}

.modal-svg {
    color: #FFD700;
    width: 70px;
    height: 70px;
    display: block;
    margin: 0 auto;
}

.modal-final-question {
    font-weight: 800;
    color: var(--heading, #fff);
    font-size: 1.18rem;
    margin-bottom: 2.3rem;
    margin-top: 0.7rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.modal-actions .modal-btn {
    background: var(--accent, #FFD700);
    color: #181818;
    border: 2px solid var(--accent, #FFD700);
    font-weight: 700;
    box-shadow: none;
    transition: background 0.18s, color 0.18s, transform 0.18s;
}
.modal-actions .modal-btn:hover, .modal-actions .modal-btn:focus {
    background: var(--accent-hover, #FFF176);
    color: #181818;
    transform: translateY(-2px) scale(1.03);
} 

@media (max-width: 576px) {
    header {
        padding: 0.75rem 0;
        flex-direction: column;
        justify-content: center;
    }
    .header-inner {
        justify-content: center;
    }
    nav {
        margin-top: 0.5rem;
        flex-wrap: wrap;
    }

    nav a {
        margin: 0.4rem 0.75rem 0 0;
        font-size: 0.9rem;
    }

    nav a.cta {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0.75rem 0;
    }
    .theme-toggle {
        right: 0.75rem;
        bottom: 0.75rem;
    }
}