/* ==========================================
   FacturaSmart Landing Page - Modern CSS
   ========================================== */

/* === ROOT VARIABLES === */
:root {
    --primary: #6C5DD3;
    --primary-dark: #5548B8;
    --primary-light: #8B7FE8;
    --secondary: #4CAF50;
    --accent: #FF6B6B;
    --blue: #4A90E2;
    --green: #52C41A;
    --orange: #FF9F43;
    --pink: #E91E63;
    --cyan: #00BCD4;

    --text-dark: #2D3748;
    --text-gray: #718096;
    --text-light: #A0AEC0;

    --bg-light: #F7FAFC;
    --bg-white: #FFFFFF;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

/* === UTILITY CLASSES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 93, 211, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

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

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    top: -300px;
    right: -200px;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    bottom: -150px;
    left: -100px;
    animation: float 25s infinite ease-in-out reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--pink) 0%, var(--accent) 100%);
    top: 50%;
    left: 30%;
    animation: float 30s infinite ease-in-out;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: 60px;
    align-items: center;
}

.badge-sri {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E8F5E9;
    color: var(--green);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 4px;
}

.hero-image {
    position: relative;
    padding-left: 40px;
    overflow: visible;
}

.screenshot-wrapper {
    position: relative;
    animation: fadeInUp 1s ease-out;
    margin-bottom: 60px;
}

.screenshot-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 100%;
    transform: scale(1.3);
    transform-origin: center;
}

.screenshot-badge {
    position: absolute;
    bottom: -110px;
    left: 0;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.badge-online i {
    color: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === SECTIONS === */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(108, 93, 211, 0.1) 0%, rgba(139, 127, 232, 0.1) 100%);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
}

/* === FEATURES === */
.features {
    padding: 65px 0 100px;  /* Padding moderado arriba, más abajo */
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-icon.purple { background: rgba(108, 93, 211, 0.1); color: var(--primary); }
.feature-icon.blue { background: rgba(74, 144, 226, 0.1); color: var(--blue); }
.feature-icon.green { background: rgba(76, 175, 80, 0.1); color: var(--green); }
.feature-icon.orange { background: rgba(255, 159, 67, 0.1); color: var(--orange); }
.feature-icon.pink { background: rgba(233, 30, 99, 0.1); color: var(--pink); }
.feature-icon.cyan { background: rgba(0, 188, 212, 0.1); color: var(--cyan); }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* === SHOWCASE === */
.showcase {
    padding: 50px 0 100px;  /* Menos padding arriba, más abajo */
    background: var(--bg-light);
}

.showcase-content {
    display: grid;
    grid-template-columns: 45fr 55fr;  /* Más espacio para la imagen */
    gap: 80px;
    align-items: center;
}

.showcase-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.showcase-text p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.check-list {
    margin-bottom: 32px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
}

.check-list i {
    color: var(--green);
    font-size: 20px;
}

.showcase-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
    transform: scale(1.25);  /* 25% más grande sin afectar el layout */
    transform-origin: center;
}

/* === SRI SECTION === */
.sri-section {
    padding: 50px 0 100px;  /* Menos padding arriba, más abajo */
    background: white;
}

.sri-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.sri-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sri-feature {
    text-align: center;
}

.sri-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.sri-feature h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sri-feature p {
    color: var(--text-gray);
}

.sri-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.sri-doc {
    position: relative;
}

.sri-doc img {
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 350px;
    max-height: 500px;
    margin: 0 auto;
    object-fit: contain;
}

.sri-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

.sri-list {
    position: relative;
}

.authorized-badge {
    background: rgba(76, 175, 80, 0.95);
    color: white;
    padding: 20px 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    box-shadow: var(--shadow-xl);
    margin: -40px auto 0;
    width: fit-content;
    position: relative;
    z-index: 10;
}

.authorized-badge i {
    font-size: 32px;
}

/* === MOBILE SECTION === */
.mobile-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mobile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mobile-images {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.mobile-frame {
    position: relative;
    flex: 0 0 auto;
    width: 280px;
    background: #1a1a1a;
    border-radius: 32px;
    padding: 8px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 2px #2a2a2a,
        0 0 0 4px #1a1a1a,
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: floatMobile 3s infinite ease-in-out;
}

/* Notch (muesca superior) */
.mobile-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 18px;
    background: #1a1a1a;
    border-radius: 0 0 12px 12px;
    z-index: 10;
}

/* Botón de encendido */
.mobile-frame::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 100px;
    width: 3px;
    height: 50px;
    background: #0a0a0a;
    border-radius: 2px 0 0 2px;
}

.mobile-frame:nth-child(2) {
    animation-delay: 0.5s;
    transform: translateY(30px);
}

.mobile-frame:nth-child(3) {
    animation-delay: 1s;
    transform: translateY(60px);
}

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

.mobile-frame img {
    border-radius: 24px;
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

.mobile-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.underline-text {
    position: relative;
    display: inline-block;
}

.underline-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
    border-radius: 2px;
}

.mobile-text p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.mobile-text .check-list li {
    color: white;
}

.download-apps {
    margin-top: 32px;
    font-size: 16px;
    opacity: 0.9;
}

/* === REPORTS === */
.reports-section {
    padding: 50px 0 100px;  /* Menos padding arriba, más abajo */
    background: var(--bg-light);
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.report-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.report-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.report-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.report-info {
    padding: 24px;
}

.report-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.report-info p {
    color: var(--text-gray);
    font-size: 15px;
}

/* === TESTIMONIALS === */
.testimonials {
    padding: 50px 0 50px;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

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

.stars {
    color: #FFC107;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 24px;
    font-style: italic;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* === PRICING === */
.pricing {
    padding: 50px 0 100px;  /* Menos padding arriba, más abajo */
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 2px solid #E2E8F0;
    position: relative;
    transition: var(--transition);
    overflow: hidden;  /* Evita que el contenido se salga */
    word-wrap: break-word;  /* Ajusta palabras largas */
    box-sizing: border-box;  /* Incluye padding en el ancho total */
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -5px;  /* Bajado para mejor visibilidad */
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.pricing-header p {
    color: var(--text-gray);
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 32px;
}

.currency {
    font-size: 24px;
    font-weight: 700;
}

.amount {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    word-break: break-word;  /* Rompe palabras largas si es necesario */
    max-width: 100%;  /* No excede el ancho del contenedor */
}

.period {
    font-size: 18px;
    color: var(--text-gray);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F7FAFC;
}

.pricing-features i {
    color: var(--green);
}

/* === CTA SECTION === */
.cta-section {
    padding: 30px 0 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.form-input {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border: none;
    font-size: 16px;
    background: white;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.cta-form .btn {
    width: 100%;
}

.cta-note {
    font-size: 14px;
    opacity: 0.9;
}

/* === FOOTER === */
.footer {
    background: #1A202C;
    color: white;
    padding: 40px 0 0;
}

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

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

.footer-desc {
    color: #A0AEC0;
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #A0AEC0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    padding-left: 4px;
}

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

.footer-bottom p {
    color: #A0AEC0;
    font-size: 14px;
}

/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-10px);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #1A202C;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid #1A202C;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

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

/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content,
    .showcase-content,
    .mobile-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid,
    .reports-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .hero-title {
        font-size: 42px;
    }

    .mobile-images {
        flex-direction: row;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .hero-image {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-stats {
        gap: 24px;
        justify-content: center;
    }

    .screenshot-main {
        max-width: 100% !important;
        transform: scale(1) !important;
    }

    .screenshot-wrapper {
        margin-bottom: 80px;
    }

    .screenshot-badge {
        bottom: -60px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 14px;
    }

    .showcase-image img {
        transform: scale(1) !important;  /* Quitar escala en móvil */
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .features-grid,
    .sri-features,
    .reports-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;  /* Una sola columna en móvil */
        gap: 24px;
    }

    .pricing-card {
        padding: 32px 20px !important;  /* Padding reducido en móvil */
    }

    .amount {
        font-size: 36px !important;  /* Fuente más pequeña en móvil */
    }

    .sri-images {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sri-doc img {
        max-width: 100%;
        max-height: 400px;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
    }

    .form-input {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .section-description {
        font-size: 16px;
    }

    .mobile-text,
    .showcase-text {
        order: 2;
    }

    .mobile-images,
    .showcase-image {
        order: 1;
    }

    .mobile-text h2,
    .showcase-text h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .showcase-image img {
        max-width: 100% !important;
        transform: scale(1) !important;
    }

    .mobile-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .mobile-frame {
        width: 100%;
        max-width: 300px;
    }

    .mobile-images {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding-bottom: 16px;
    }

    .report-card img {
        aspect-ratio: 16 / 9;
        max-height: 200px;
    }

    .underline-text::after {
        height: 2px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-cta .btn {
        padding: 14px 24px;
        font-size: 16px;
    }

    .stat {
        flex: 1;
    }

    .stat-number {
        font-size: 24px;
    }

    .mobile-frame {
        width: 180px;
        min-width: 180px;
    }
}

/* === ANIMATIONS === */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
}

    /* WhatsApp Button Responsive */
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        font-size: 26px !important;
        bottom: 80px !important;
        right: 20px !important;
    }

    .whatsapp-tooltip {
        display: none !important;
    }
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}
