/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #9b59b6;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 4rem 1rem 4rem;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    gap: 4rem;
}

.hero > .hero-image-container {
    order: 2;
}

.hero > .hero-content {
    order: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    z-index: -2;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: block;
    z-index: 1;
    padding: 0 1rem;
    box-sizing: border-box;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-highlight {
    display: block;
    background: linear-gradient(90deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
    transform: scale(0.98);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.hero-image-container {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.hero-screenshot {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-screenshot:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    background: var(--bg-white);
    max-width: 100%;
    object-fit: contain;
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%);
}


/* Feature Sections */
.feature-section {
    padding: 6rem 2rem;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.feature-section.feature-alt {
    background: var(--bg-light);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Feature Showcase */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 100%;
}

.feature-showcase.reverse {
    direction: rtl;
}

.feature-showcase.reverse > * {
    direction: ltr;
}

.showcase-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.showcase-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.showcase-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    background: var(--bg-white);
    max-width: 100%;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-highlight {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--success-color);
}

.highlight-icon {
    font-size: 1.5rem;
}

/* Features Grid Large */
.features-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-large-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.feature-large-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.feature-large-card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.card-content p {
    color: var(--text-light);
}

/* Components Grid */
.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.component-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 2px solid transparent;
    width: 100%;
    box-sizing: border-box;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.component-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.component-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.component-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.component-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.component-showcase {
    margin-top: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.component-showcase-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Receta Preview */
.receta-preview {
    margin-top: 3rem;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.preview-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.preview-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.preview-content {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.preview-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Study Types */
.study-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.study-type-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-weight: 500;
}

.type-icon {
    font-size: 1.5rem;
}

/* WhatsApp Integration */
.whatsapp-integration {
    margin-top: 3rem;
}

.whatsapp-card {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.whatsapp-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.whatsapp-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.whatsapp-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.whatsapp-preview {
    max-width: 300px;
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

/* Sales Features */
.sales-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sales-feature-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.sales-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.sales-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sales-feature-card h4 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.sales-feature-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* Dashboard */
.dashboard-showcase {
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dashboard-img {
    width: 100%;
    height: auto;
    display: block;
}

.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.widget-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.widget-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.widget-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.widget-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.widget-card p {
    color: var(--text-light);
}

/* Catalogs */
.catalogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.catalog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.catalog-header {
    padding: 1.5rem;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.catalog-icon {
    font-size: 2rem;
}

.catalog-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.catalog-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.catalog-features {
    padding: 1.5rem;
    list-style: none;
}

.catalog-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.catalog-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* CIE-10 */
.cie10-features {
    margin-top: 1.5rem;
}

.cie10-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Printing */
.printing-showcase {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.printing-options {
    display: grid;
    gap: 1.5rem;
}

.print-option {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s;
}

.print-option:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.print-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.print-option h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.print-option p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.printing-preview {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.printing-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Backup */
.backup-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.backup-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.backup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.backup-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.backup-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.backup-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

/* Config */
.config-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.config-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.config-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.config-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.config-item h4 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.config-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* Highlights */
.highlights-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    text-align: center;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.highlight-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.highlight-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 6rem 2rem;
    text-align: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    z-index: -2;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.cta-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-contact p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.btn-whatsapp-cta {
    padding: 1rem 2rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-whatsapp-cta:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Animaciones de Scroll */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animación escalonada para elementos en grid */
.feature-grid .fade-in-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.feature-grid .fade-in-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.feature-grid .fade-in-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.feature-grid .fade-in-on-scroll:nth-child(4) { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero > .hero-image-container {
        order: 1;
    }

    .hero > .hero-content {
        order: 2;
        text-align: center;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-showcase.reverse {
        direction: ltr;
    }

    .printing-showcase {
        grid-template-columns: 1fr;
    }

    .section-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero {
        padding: 0 0 2rem;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-background {
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        padding: 1.5rem 1rem 1.5rem;
        width: 100%;
        max-width: 100%;
        order: 2;
        text-align: center;
    }

    .hero-image-container {
        width: 100%;
        max-width: 100%;
        order: 1;
        margin: 0;
        padding: 1.5rem 1rem 0;
        box-sizing: border-box;
    }

    .hero-screenshot {
        transform: none !important;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .screenshot-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
        margin-bottom: 0.75rem;
        display: inline-flex;
    }

    .badge-icon {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
    }

    .title-highlight {
        display: block;
        margin-top: 0.25rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 0.75rem;
        flex-wrap: wrap;
        margin-bottom: 1.25rem;
        padding: 0 0.5rem;
    }

    .stat-item {
        flex: 0 0 auto;
        min-width: 70px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.65rem;
        margin-top: 0.2rem;
        line-height: 1.2;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
        padding: 0;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
        max-width: 100%;
    }

    .btn-large {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }


    /* Feature Sections Mobile */
    .feature-section {
        padding: 3rem 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .section-container {
        padding: 0 0.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .feature-showcase.reverse {
        direction: ltr;
    }

    .showcase-content h3 {
        font-size: 1.5rem;
    }

    .showcase-image {
        width: 100%;
        max-width: 100%;
    }

    .showcase-img {
        width: 100%;
        max-width: 100%;
    }

    .features-grid-large {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-image {
        height: 180px;
    }

    .components-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .component-card {
        padding: 1rem 0.5rem;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

    .component-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        flex-shrink: 0;
    }

    .component-card h4 {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
        line-height: 1.2;
        font-weight: 600;
    }

    .component-card p {
        font-size: 0.7rem;
        line-height: 1.3;
        margin: 0;
    }

    .component-showcase {
        margin-top: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .component-showcase-img {
        width: 100%;
        max-width: 100%;
    }

    .receta-preview {
        padding: 1rem;
        margin-top: 2rem;
    }

    .preview-img {
        width: 100%;
        max-width: 100%;
    }

    .study-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .whatsapp-preview {
        max-width: 100%;
        width: 100%;
    }

    .sales-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sales-img {
        width: 100%;
        max-width: 100%;
    }

    .dashboard-img {
        width: 100%;
        max-width: 100%;
    }

    .dashboard-widgets {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .catalogs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .catalog-img {
        height: 200px;
    }

    .printing-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .printing-img {
        width: 100%;
        max-width: 100%;
    }

    .backup-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .backup-img {
        width: 100%;
        max-width: 100%;
    }

    .config-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .config-img {
        width: 100%;
        max-width: 100%;
        height: 180px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-section {
        padding: 4rem 1rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .footer {
        padding: 3rem 1rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Asegurar que todas las imágenes ocupen 100% */
    img {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        display: block;
        box-sizing: border-box;
    }

    /* Prevenir overflow horizontal */
    * {
        box-sizing: border-box;
    }

    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }

    /* Asegurar que todos los contenedores principales ocupen 100% */
    .section-container,
    .feature-showcase,
    .showcase-content,
    .showcase-image,
    .hero-content,
    .hero-image-container,
    .dashboard-showcase,
    .catalogs-grid,
    .printing-showcase,
    .backup-showcase,
    .config-showcase,
    .highlights-grid,
    .cta-content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

/* Scroll Smooth */
html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Loading States */
img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

