* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #312D2A;
    --secondary-color: #2C5266;
    --accent-color: #508223;
    --light-bg: #F5F4F2;
    --white: #FAFAFA;
    --text-dark: #312D2A;
    --text-light: #413D3B;
    --blue-accent: #006896;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    font-weight: bold;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.number-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(80, 130, 35, 0.1);
}

.calculator-result {
    background: linear-gradient(135deg, var(--accent-color), #6ba32a);
    color: white;
    padding: 1.5rem; /* Reducido de 2rem */
    border-radius: 15px;
    margin-top: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem; /* Reducido de 1rem */
    padding: 0.3rem 0; /* Reducido de 0.5rem */
}

.result-item:last-child {
    margin-bottom: 0;
}

.main-result {
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 0; /* Reducido de 1rem */
    margin: 0.8rem 0; /* Reducido de 1rem */
}

.result-label {
    font-size: 0.9rem; /* Reducido de 1rem */
    opacity: 0.9;
    line-height: 1.2; /* Agregado para reducir espacio */
}

.result-value {
    font-size: 1.1rem; /* Reducido de 1.2rem */
    font-weight: bold;
    line-height: 1.2; /* Agregado para reducir espacio */
}

.result-value.total {
    font-size: 1.8rem; /* Reducido de 2rem */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.1; /* Agregado para reducir espacio */
}

/* Benefits Summary */
.benefits-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.benefit-card:hover i {
    transform: scale(1.1) rotateY(360deg);
}

.benefit-card h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Cost section animations */
.cost-section.revealed .pricing-tier {
    animation: tierFadeIn 0.8s ease forwards;
}

.pricing-tier:nth-child(1) { animation-delay: 0.1s; }
.pricing-tier:nth-child(2) { animation-delay: 0.2s; }
.pricing-tier:nth-child(3) { animation-delay: 0.3s; }
.pricing-tier:nth-child(4) { animation-delay: 0.4s; }

@keyframes tierFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-bg);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-item i {
    color: var(--accent-color);
    margin-top: 2px;
    min-width: 20px;
}

.contact-item a {
    color: var(--light-bg);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px) scale(1.1);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem; /* Reducido de 0.8rem */
}

.footer-links a {
    color: var(--light-bg);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 3px 0; /* Reducido de 5px */
    display: flex;
    align-items: center;
    gap: 8px; /* Espacio entre icono y texto */
    font-size: 0.9rem; /* Ligeramente más pequeño */
    line-height: 1.3; /* Reducir altura de línea */
}

.footer-links a i {
    color: var(--accent-color);
    font-size: 0.85rem;
    min-width: 16px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.footer-links a:hover i {
    transform: scale(1.1);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ripple effect animation */
@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Help Button */
.floating-help {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.help-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #25D366; /* Verde oficial de WhatsApp */
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.help-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
    background: #128C7E; /* Verde más oscuro al hover */
}

.help-tooltip {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.help-button:hover + .help-tooltip {
    opacity: 1;
    transform: translateY(0);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7); }
    100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(80, 130, 35, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(80, 130, 35, 0.5); }
    100% { box-shadow: 0 4px 20px rgba(80, 130, 35, 0.3); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.navbar.transparent {
    background-color: rgba(49, 45, 42, 0.9);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-title h2 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary, .btn-accent {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #E4E3E0;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    background-color: #406119;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(80, 130, 35, 0.3);
}

.pulse-animation {
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0% { box-shadow: 0 0 0 0 rgba(80, 130, 35, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(80, 130, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(80, 130, 35, 0); }
}

/* Sections */
section {
    min-height: 100vh;
    min-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 100px 0 50px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1A2F3F 0%, var(--secondary-color) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height */
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-icon-1 { top: 20%; left: 10%; animation-delay: 0s; }
.floating-icon-2 { top: 60%; right: 15%; animation-delay: 1s; }
.floating-icon-3 { bottom: 30%; left: 20%; animation-delay: 2s; }
.floating-icon-4 { top: 40%; right: 30%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--accent-color);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-color); }
}

.slide-in-left {
    animation: slideInLeft 1s ease-out 0.5s both;
}

.slide-in-right {
    animation: slideInRight 1s ease-out 1s both;
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #E4E3E0;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-bg);
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.3s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.mockup-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca42; }

.chart-container {
    height: 200px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-color), var(--blue-accent));
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
    color: var(--text-dark);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Packages Section */
.packages-section {
    background-color: var(--light-bg);
}

.packages-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--blue-accent);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(80, 130, 35, 0.1), transparent);
    transition: left 0.5s ease;
}

.package-card:hover::before {
    left: 100%;
}

.package-card:hover,
.package-card.active {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stagger-animation {
    opacity: 0;
    transform: translateY(50px);
}

.packages-section.revealed .stagger-animation {
    animation: packageSlideIn 0.8s ease forwards;
}

.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.3s; }
.stagger-animation:nth-child(3) { animation-delay: 0.5s; }

@keyframes packageSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(-10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.package-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.package-card:hover .package-icon {
    transform: scale(1.2) rotateY(360deg);
    color: var(--accent-color);
}

.package-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.package-card p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.price-tag {
    background: linear-gradient(45deg, var(--accent-color), #6ba32a);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
    font-size: 0.9rem;
}

/* How Works Section */
.how-works-section {
    background-color: white;
}

.how-works-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--blue-accent);
}

.how-works-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.how-works-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.how-works-text {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
}

.how-works-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-animation {
    opacity: 0;
    transform: translateY(30px);
}

.how-works-section.revealed .step-animation {
    animation: stepSlideIn 0.8s ease forwards;
}

@keyframes stepSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step:hover .step-number {
    transform: scale(1.2);
    box-shadow: 0 8px 25px rgba(80, 130, 35, 0.3);
}

.step-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.step-connector {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-50%);
    z-index: 1;
}

.animated-line {
    position: relative;
    overflow: hidden;
}

.animated-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-50%);
    animation: lineProgress 2s ease-in-out infinite;
}

@keyframes lineProgress {
    0% { left: -100%; }
    50% { left: 0%; }
    100% { left: 100%; }
}

.step h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.slide-down {
    transform: translateY(-50px);
}

.slide-up {
    transform: translateY(50px);
}

.fade-in-slow {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.fade-in-slow.revealed {
    opacity: 1;
}

/* Security Section */
.security-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1A2F3F 100%);
    color: var(--white);
}

.security-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.security-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #E4E3E0;
}

/* Security Dashboard */
.security-dashboard {
    margin: 4rem 0;
    display: flex;
    justify-content: center;
}

.security-center {
    position: relative;
    text-align: center;
}

.security-core {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.security-core i {
    font-size: 4rem;
    color: var(--accent-color);
    z-index: 10;
    position: relative;
}

.security-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    animation: securityWave 3s infinite;
}

.wave-1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.wave-2 {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    animation-delay: 0.5s;
}

.wave-3 {
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    animation-delay: 1s;
}

@keyframes securityWave {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

.security-level {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.level-text {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.level-bar {
    width: 200px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.level-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #6ba32a);
    border-radius: 5px;
    width: 0%;
    transition: width 2s ease; /* Exactamente 2 segundos */
}

/* Animación más suave con easing personalizado */
.level-progress.animate {
    width: 99%;
    transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Easing más suave */
}

.level-percentage {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.security-item {
    background: rgba(245, 244, 242, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.interactive-security:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(245, 244, 242, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.security-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.security-icon-container i {
    font-size: 3rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.security-status {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #28a745;
    border: 3px solid var(--white);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.security-details {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.detail-badge {
    background: rgba(80, 130, 35, 0.2);
    color: var(--accent-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--accent-color);
}

.security-item h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.security-active {
    border-color: var(--accent-color) !important;
    background: rgba(245, 244, 242, 0.3) !important;
    transform: translateY(-15px) scale(1.05) !important;
}

/* Stagger delays for security items */
.interactive-security:nth-child(1) { transition-delay: 0.1s; }
.interactive-security:nth-child(2) { transition-delay: 0.2s; }
.interactive-security:nth-child(3) { transition-delay: 0.3s; }
.interactive-security:nth-child(4) { transition-delay: 0.4s; }
.interactive-security:nth-child(5) { transition-delay: 0.5s; }
.interactive-security:nth-child(6) { transition-delay: 0.6s; }
.interactive-security:nth-child(7) { transition-delay: 0.7s; }
.interactive-security:nth-child(8) { transition-delay: 0.8s; }

/* Cost Section - NEW DESIGN */
.cost-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f8f9fa 100%);
    position: relative;
}

.cost-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--blue-accent);
}

/* Pricing Container */
.pricing-container {
    margin: 4rem 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-tier {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    cursor: pointer;
}

.pricing-tier:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pricing-tier.basic {
    border-color: #e0e7ff;
}

.pricing-tier.professional {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.pricing-tier.business {
    border-color: #fbbf24;
}

.pricing-tier.enterprise {
    border-color: #8b5cf6;
}

.recommended {
    position: relative;
}

.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(80, 130, 35, 0.3);
}

.tier-header {
    margin-bottom: 2rem;
}

.tier-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent-color), #6ba32a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(80, 130, 35, 0.2);
}

.tier-header h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tier-range {
    color: var(--text-light);
    font-size: 0.95rem;
}

.tier-price {
    margin-bottom: 2rem;
}

.tier-price .price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
}

.tier-price .unit {
    font-size: 1rem;
    color: var(--text-light);
    vertical-align: top;
}

.tier-features {
    text-align: left;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(80, 130, 35, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(80, 130, 35, 0.1);
    transform: translateX(5px);
}

.feature i {
    color: var(--accent-color);
    margin-right: 10px;
    min-width: 20px;
}

.feature span {
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Cost Calculator */
.cost-calculator {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(80, 130, 35, 0.1);
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h3 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.calculator-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.calculator-controls {
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.number-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e7ff;
    border-radius: 10px;
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Mostrar título completo por defecto */
.title-full {
    display: inline;
}

.title-short {
    display: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(49, 45, 42, 0.98);
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--accent-color);
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-text i {
    font-size: 2rem;
    color: var(--accent-color);
}

.cookie-message h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cookie-message p {
    color: #E4E3E0;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie-settings {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cookie-settings:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-cookie-accept {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
    background: #406119;
    transform: translateY(-2px);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
}

.cookie-modal-header h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-body {
    padding: 1.5rem 2rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--accent-color);
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.cookie-category p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-modal-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid #eee;
}

.btn-cookie-save {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-cookie-save:hover {
    background: #406119;
}

/* Security subtitle - texto más grande */
.security-subtitle {
    font-size: 2.2rem; /* Aumentado de 2rem */
    text-align: center;
    margin-bottom: 2rem;
    color: #E4E3E0;
}

/* Typewriter effect para párrafo */
.typewriter-text {
    font-size: 1.3rem;
    text-align: center;
    max-width: 700px; /* Reducido para el texto más corto */
    margin: 0 auto 2rem;
    color: var(--light-bg);
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    border-right: 2px solid var(--accent-color);
    animation: none;
}

.typewriter-text.start-typing {
    animation: typewriterExpand 2.5s steps(50) forwards, /* Reducido de 4s a 2.5s y de 120 a 50 steps */
               blinkCursor 0.8s step-end infinite;
}

.billing-animation-container {
    margin: 4rem 0;
}

.billing-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.billing-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.billing-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 120px;
}

.billing-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #6ba32a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.billing-content {
    flex: 1;
    text-align: left;
}

.success-icon {
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes typewriterExpand {
    from { 
        width: 0; 
    }
    to { 
        width: 100%; 
    }
}

@keyframes blinkCursor {
    from, to { 
        border-color: transparent; 
    }
    50% { 
        border-color: var(--accent-color); 
    }
}

.title-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.title-link:hover {
    color: var(--accent-color);
}

/* Billing Section Styles - Agregar al final del style.css */
.billing-success-icon i {
    transition: all 0.3s ease;
}

.billing-main-icon {
    transition: all 0.3s ease;
}

.billing-progress {
    transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.billing-percentage {
    transition: all 0.3s ease;
}

/* Agregar estas reglas al final de tu style.css */

/* Stagger Animation - Definir la clase faltante */
.stagger-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* Cuando la sección se revela, animar los elementos stagger */
.how-works-section.revealed .stagger-animation {
    animation: staggerSlideIn 0.8s ease forwards;
}

/* Delays específicos para cada elemento */
.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.3s; }
.stagger-animation:nth-child(3) { animation-delay: 0.5s; }

@keyframes staggerSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Asegurar que los elementos sean visibles cuando están revelados */
.how-works-section.revealed .stagger-animation {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Estilos específicos para la sección de facturación */
#section6 .security-dashboard {
    margin: 2rem 0; /* Reducido de 4rem */
}

#section6 .security-core {
    width: 100px; /* Reducido de 200px */
    height: 100px; /* Reducido de 200px */
    margin: 0 auto 1rem; /* Reducido de 2rem */
}

#section6 .security-core i {
    font-size: 2.5rem; /* Reducido de 4rem */
}

#section6 .security-level {
    padding: 1rem; /* Reducido de 1.5rem */
}

#section6 .level-bar {
    width: 150px; /* Reducido de 200px */
    margin-bottom: 0.5rem; /* Reducido de 1rem */
}

/* Animación del archivo moviéndose */
@keyframes fileMove {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-5px) rotate(-2deg); }
    50% { transform: translateX(5px) rotate(2deg); }
    75% { transform: translateX(-3px) rotate(-1deg); }
}

.billing-main-icon.processing {
    animation: fileMove 0.5s ease-in-out infinite;
}

.billing-main-icon.completed {
    animation: none;
    color: var(--accent-color) !important;
}

#section6 .billing-main-icon {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

/* Estilos para elementos de beneficios en facturación */
#section6 .benefit-card {
    opacity: 1;
    transform: translateY(0);
}

/* Animación específica para iconos de facturación */
.billing-success-icon {
    transition: all 0.3s ease;
}

/* Billing Separator Styles */
.billing-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    padding: 2rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.billing-separator.revealed {
    opacity: 1;
    transform: translateY(0);
}

.separator-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    position: relative;
}

.separator-line::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(80, 130, 35, 0.5);
}

.separator-content {
    padding: 0 3rem;
    text-align: center;
    background: var(--light-bg);
    position: relative;
}

.separator-content i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
    animation: separatorPulse 2s ease-in-out infinite;
}

.separator-content h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.separator-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

@keyframes separatorPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}

@keyframes iconBounce {
    0%, 20%, 60%, 100% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-10px) scale(1.1); }
    80% { transform: translateY(-5px) scale(1.05); }
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 768px) {
    .nav-title h2 {
        font-size: 1rem;
    }

    .nav-buttons {
        gap: 0.5rem;
    }

    .nav-buttons a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .hero-section {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0;
    }

    .hero-text {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        order: 2;
        margin-top: 2rem;
    }

    .navbar {
        position: fixed;
        top: 0;
        z-index: 1000;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-text h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .dashboard-mockup {
        transform: none;
        margin: 0;
        max-width: 100%;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .pricing-table {
        grid-template-columns: 1fr;
    }

    .pricing-tier.professional {
        transform: none;
    }

    .benefits-summary {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefit-card {
        min-width: auto;
        width: 100%;
    }

    .how-works-steps {
        grid-template-columns: 1fr;
    }

    .step-connector {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    section {
        padding: 80px 0 30px;
    }

    .floating-help {
        bottom: 20px;
        right: 20px;
    }

    .help-button {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .cost-calculator {
        padding: 2rem 1rem;
    }

    .pricing-tier {
        padding: 2rem 1rem;
    }

    .security-dashboard {
        margin: 2rem 0;
    }

    .security-core {
        width: 150px;
        height: 150px;
    }

    .security-core i {
        font-size: 3rem;
    }

    .result-value.total {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .cost-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .pricing-table {
        display: grid !important;
    }

    .cost-calculator {
        display: block !important;
        padding: 2rem 1rem;
    }

    .title-full {
        display: none;
    }
    
    .title-short {
        display: inline;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .cookie-text {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1rem;
    }

    .security-subtitle {
        font-size: 1.8rem;
    }
    
    .typewriter-text {
        font-size: 1.1rem;
        max-width: 100%;
        white-space: normal;
        border-right: none;
        width: auto;
        animation: none !important;
    }
    
    .typewriter-text.start-typing {
        animation: fadeInUp 1s ease forwards;
    }

    .billing-step {
        flex-direction: column;
        text-align: center;
    }
    
    .billing-content {
        text-align: center;
    }

    .stagger-animation {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    #section6 .benefits-summary {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    
    #section6 .security-dashboard {
        display: flex !important;
    }

    .billing-separator {
        margin: 3rem 0;
        padding: 1.5rem 0;
    }
    
    .separator-content {
        padding: 0 2rem;
    }
    
    .separator-content i {
        font-size: 2rem;
    }
    
    .separator-content h4 {
        font-size: 1.1rem;
    }
    
    .separator-content p {
        font-size: 0.9rem;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Mejoras específicas para el problema de contenido cortado */
    .floating-elements {
        display: none; /* Ocultar elementos flotantes en móvil */
    }
    
    .typewriter {
        white-space: normal !important;
        border-right: none !important;
        animation: none !important;
    }
    
    .navbar {
        background-color: rgba(49, 45, 42, 0.95) !important;
        backdrop-filter: blur(15px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    body {
        overflow-x: hidden;
    }
    
    section {
        min-height: auto !important;
        height: auto !important;
    }
    
    .hero-content {
        min-height: auto;
        align-items: flex-start;
    }
    
    * {
        max-width: 100% !important;
    }
}

/* Correcciones específicas para pantallas pequeñas como iPhone SE (375x667) */
@media (max-width: 768px) and (max-height: 700px) {
    .hero-section {
        min-height: auto !important;
        padding: 100px 0 40px !important;
        display: flex;
        align-items: flex-start;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding-top: 20px;
        gap: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem !important;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 0.95rem !important;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .btn-accent {
        font-size: 1rem !important;
        padding: 0.8rem 1.5rem !important;
    }
    
    .dashboard-mockup {
        padding: 15px;
        margin-top: 1rem;
    }
    
    .chart-container {
        height: 150px;
        margin-bottom: 15px;
    }
    
    .stats-grid {
        gap: 10px;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Correcciones específicas para iPhone SE (375x667) */
@media (max-width: 375px) and (max-height: 667px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-title h2 {
        font-size: 0.9rem;
    }
    
    .nav-buttons a {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding: 90px 0 30px !important;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero-text h1 {
        font-size: 1.6rem !important;
        margin-bottom: 0.6rem;
    }
    
    .hero-text h2 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem;
    }
    
    .hero-text p {
        font-size: 0.9rem !important;
        margin-bottom: 1.2rem;
    }
    
    .btn-accent {
        font-size: 0.95rem !important;
        padding: 0.7rem 1.2rem !important;
    }
    
    .dashboard-mockup {
        padding: 12px;
        border-radius: 10px;
    }
    
    .chart-container {
        height: 120px;
        margin-bottom: 10px;
    }
    
    .mockup-header {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    
    .mockup-dots span {
        width: 8px;
        height: 8px;
    }
    
    .stat-item {
        padding: 8px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .floating-help {
        bottom: 15px;
        right: 15px;
        z-index: 999;
    }
    
    .help-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Optimización adicional para pantallas muy pequeñas en altura */
@media (max-height: 600px) {
    .hero-section {
        padding: 80px 0 20px !important;
    }
    
    .hero-text {
        margin-bottom: 1rem;
    }
    
    .dashboard-mockup {
        transform: scale(0.9);
        margin: 0 auto;
    }
}