* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --robot-primary-color: #e53e3e;
    --robot-size: medium;
    --robot-small: 50px;
    --robot-medium: 70px;
    --robot-large: 90px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f9fafb;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(229, 62, 62, 0.1);
    border-bottom: 1px solid rgba(229, 62, 62, 0.2);
}

.header.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    padding: 0.8rem 0;
    box-shadow: 0 6px 25px rgba(229, 62, 62, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e53e3e, #c53030, #9b2c2c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #e53e3e;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #c53030;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #a8c8ec 0%, #b8a8d8 25%, #e8b8f8 50%, #f8a8b8 75%, #a8d8f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    max-width: 1200px;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    border: 1px solid rgba(229, 62, 62, 0.3);
    color: #e53e3e;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(229, 62, 62, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 15px 40px rgba(229, 62, 62, 0.4);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 20px 50px rgba(229, 62, 62, 0.6);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 40px rgba(229, 62, 62, 0.4), 0 0 0 0 rgba(229, 62, 62, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 50px rgba(229, 62, 62, 0.6), 0 0 0 20px rgba(229, 62, 62, 0);
    }
}

@keyframes notification {
    0%, 80%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    10%, 70% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-badge i {
    color: #e53e3e;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.1s both;
    line-height: 1.1;
    color: #1a1a2e;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.7;
    color: #2d3748;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    animation: fadeInUp 1s ease 0.3s both;
}

.stat-item {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75));
    padding: 2rem 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 62, 62, 0.2);
    min-width: 180px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(229, 62, 62, 0.15);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    box-shadow: 0 12px 40px rgba(229, 62, 62, 0.25);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e53e3e;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(229, 62, 62, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: linear-gradient(135deg, #e53e3e, #c53030, #9b2c2c);
    color: white;
    box-shadow: 0 15px 40px rgba(229, 62, 62, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(229, 62, 62, 0.5);
}

.cta-button.secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    color: #2d3748;
    border: 2px solid rgba(45, 55, 72, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-color: rgba(45, 55, 72, 0.5);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hero-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
    font-size: 1rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-guarantee i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Hero Image and Floating Elements */
.hero-image {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 30%;
    right: 10%;
    animation-delay: 0.5s;
}

.floating-icon.icon-3 {
    top: 60%;
    left: 10%;
    animation-delay: 1s;
}

.floating-icon.icon-4 {
    top: 20%;
    right: 30%;
    animation-delay: 1.5s;
}

.floating-icon.icon-5 {
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

.floating-icon.icon-6 {
    bottom: 10%;
    left: 30%;
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Sections */
.section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #1e293b;
}

/* Features Section */
.features {
    background: white;
}

.features-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.feature-image {
    margin-bottom: 2rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-icon, .network-icon, .pdf-icon {
    font-size: 3rem;
    margin: 0 0.5rem;
    animation: pulse 2s infinite;
}

.check-marks {
    position: absolute;
    top: -10px;
    right: -10px;
}

.check {
    display: inline-block;
    background: #10b981;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 0.8rem;
    margin: 2px;
    animation: checkPop 0.5s ease-in-out;
}

.check:nth-child(1) { animation-delay: 0.2s; }
.check:nth-child(2) { animation-delay: 0.4s; }
.check:nth-child(3) { animation-delay: 0.6s; }

@keyframes checkPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, #e53e3e, #c53030);
    height: 2px;
    border-radius: 1px;
    animation: connect 2s ease-in-out infinite;
}

.line-1 {
    top: 30%;
    left: 20%;
    width: 60%;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    left: 10%;
    width: 80%;
    animation-delay: 0.5s;
}

.line-3 {
    top: 70%;
    left: 30%;
    width: 40%;
    animation-delay: 1s;
}

@keyframes connect {
    0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
}

.email-icon, .phone-icon {
    font-size: 2rem;
    margin: 0 0.3rem;
    animation: slideIn 1s ease-in-out infinite alternate;
}

.email-icon { animation-delay: 0s; }
.phone-icon { animation-delay: 0.5s; }

.arrow {
    font-size: 2rem;
    color: #e53e3e;
    margin: 0 0.5rem;
    animation: arrowMove 1.5s ease-in-out infinite;
}

@keyframes slideIn {
    0% { transform: translateX(-10px); }
    100% { transform: translateX(10px); }
}

@keyframes arrowMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(15px); }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #10b981);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: #2563eb;
}

.feature-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    line-height: 1.3;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.feature-benefits {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.benefit-item i {
    color: #10b981;
    font-size: 1rem;
    width: 16px;
}

.benefit-item span {
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* Comparison Section */
.comparison-section {
    margin-top: 4rem;
    padding: 3rem;
    background: #f8fafc;
    border-radius: 20px;
}

.comparison-section h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
}

.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: #2563eb;
    color: white;
    font-weight: 600;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:nth-child(even) {
    background: #f8fafc;
}

.comparison-item {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.comparison-item.traditional {
    color: #dc2626;
    font-weight: 500;
}

.comparison-item.digidata {
    color: #10b981;
    font-weight: 600;
}

/* Certifications Section */
.certifications-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    color: white;
}

.certifications-section h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: white;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certification-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.certification-item i {
    font-size: 2.5rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.certification-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.certification-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Generator Section */
.generator {
    background: #f8fafc;
}

.generator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.form-section, .preview-section {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-section h3, .preview-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

/* Productos */
.producto-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: center;
}

.producto-item input {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
}

.remove-producto {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-producto {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.add-producto:hover {
    background: #1d4ed8;
}

.submit-btn {
    background: #2563eb;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Invoice Preview */
.invoice-preview {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.invoice-header {
    text-align: center;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.invoice-header h2 {
    color: #2563eb;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.invoice-dates {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.invoice-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.emisor, .cliente {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 5px;
}

.emisor h4, .cliente h4 {
    color: #2563eb;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.invoice-items table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.invoice-items th,
.invoice-items td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.invoice-items th {
    background: #f8fafc;
    font-weight: 600;
    color: #2563eb;
}

.invoice-totals {
    border-top: 2px solid #2563eb;
    padding-top: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.total-final {
    font-size: 1.1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.5rem;
}

.preview-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.download-btn, .send-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.download-btn {
    background: #10b981;
    color: white;
}

.download-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.send-btn {
    background: #3b82f6;
    color: white;
}

.send-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Explanation Section */
.explanation {
    background: #f8fafc;
}

.explanation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.explanation-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.explanation-text > p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2563eb;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.benefit-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

.reassurance-box {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.reassurance-box h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.reassurance-box ul {
    list-style: none;
    padding: 0;
}

.reassurance-box li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.reassurance-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.process-flow h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #10b981;
}

.flow-number {
    background: #10b981;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.flow-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.flow-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #2563eb;
    text-align: center;
    margin: 0.5rem 0;
}

.support-box {
    background: #f0f9ff;
    border: 2px solid #2563eb;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.support-box h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.support-box p {
    color: #64748b;
    margin-bottom: 1rem;
}

.support-box ul {
    list-style: none;
    padding: 0;
}

.support-box li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
}

.support-box li::before {
    content: '🛠️';
    position: absolute;
    left: 0;
}

/* Guide Section */
.guide {
    background: white;
}

.guide-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.guide-steps h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background: #2563eb;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
}

.guide-requirements h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.guide-requirements ul {
    list-style: none;
}

.guide-requirements li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
}

.guide-requirements li i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Blog Section */
.blog {
    background: white;
}

.blog-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-posts {
    margin-bottom: 3rem;
}

.blog-post {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-post:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.2rem;
}

.author-avatar.admin {
    background: #2563eb;
    color: white;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.8rem;
    color: #64748b;
}

.post-date {
    font-size: 0.8rem;
    color: #64748b;
}

.post-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.post-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.like-btn, .reply-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #64748b;
}

.like-btn:hover, .reply-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.like-btn.liked {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.post-reply {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
    border-left: 4px solid #2563eb;
}

.reply-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reply-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.new-post-form {
    background: #f8fafc;
    border: 2px solid #2563eb;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.new-post-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.new-post-form > p {
    color: #64748b;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.submit-post-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.submit-post-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background: #f8fafc;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Floating Buttons - Clean Structure */
.floating-buttons-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

/* Robot Assistant Button */
.robot-assistant-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(229, 62, 62, 0.4);
    transition: all 0.3s ease;
    z-index: 1001;
    cursor: pointer;
    animation: robotFloat 3s infinite;
    border: 3px solid white;
    position: relative;
    overflow: visible;
    pointer-events: auto;
    margin: 0;
    padding: 0;
}

.robot-assistant-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: rgba(229, 62, 62, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: robotRipple 2s infinite;
    pointer-events: none;
}

.robot-assistant-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(229, 62, 62, 0.05);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: robotRipple 2s infinite 0.5s;
    pointer-events: none;
}

@keyframes robotRipple {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.robot-assistant-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(229, 62, 62, 0.5);
    animation: robotFloat 1s infinite;
}

/* Robot Floating Styles */
.robot-floating {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-head-floating {
    width: 24px;
    height: 20px;
    background: white;
    border-radius: 12px 12px 8px 8px;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: robotHeadBounce 2s infinite;
}

.robot-eyes-floating {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
}

.eye-floating {
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    animation: eyeBlinkFloating 3s infinite;
}

.eye-floating.left {
    animation-delay: 0s;
}

.eye-floating.right {
    animation-delay: 0.1s;
}

.robot-mouth-floating {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 2px;
    background: #333;
    border-radius: 0 0 5px 5px;
    animation: mouthTalkFloating 1.5s infinite;
}

.robot-body-floating {
    width: 28px;
    height: 16px;
    background: white;
    border-radius: 6px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: robotBodyBounce 2s infinite;
}

.robot-body-floating::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 3px;
    height: 3px;
    background: #333;
    border-radius: 50%;
}

.robot-body-floating::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 3px;
    height: 3px;
    background: #333;
    border-radius: 50%;
}

/* Robot Floating Animations */
@keyframes robotFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

@keyframes robotHeadBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-2px);
    }
}

@keyframes robotBodyBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-1px);
    }
}

@keyframes eyeBlinkFloating {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

@keyframes mouthTalkFloating {
    0%, 100% {
        height: 3px;
    }
    50% {
        height: 6px;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 214, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1002;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    border: 3px solid #fff;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 214, 102, 0.4);
}

/* Email Button */
.email-btn {
    position: fixed;
    bottom: 8rem;
    left: 2rem;
    background: #e53e3e;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: auto;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
    .robot-assistant-btn {
        bottom: 2rem;
        left: 1rem;
        width: 55px;
        height: 55px;
    }
    
    .email-btn {
        bottom: 7rem;
        left: 1rem;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-btn {
        bottom: 2rem;
        right: 1rem;
        width: 55px;
        height: 55px;
    }
}

.email-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(229, 62, 62, 0.4);
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    border: 2px solid #e9ecef;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: #495057;
}

.contact-info a {
    color: #e53e3e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #c53030;
    text-decoration: underline;
}

.contact-info i {
    margin-right: 0.5rem;
    color: #e53e3e;
}

/* Ventajas Competitivas Section */
.ventajas-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.ventajas-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ventaja-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #e53e3e;
}

.ventaja-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.ventaja-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.ventaja-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.ventaja-card p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

/* Testimonios Section */
.testimonios-section {
    padding: 4rem 0;
    background: white;
}

.testimonios-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonio-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-left: 4px solid #e53e3e;
}

.testimonio-card:hover {
    transform: translateY(-3px);
}

.testimonio-content {
    margin-bottom: 1.5rem;
}

.testimonio-content p {
    color: #555;
    line-height: 1.6;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonio-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Footer */
/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.blog-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-post {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-contact {
    text-align: left;
}

.footer-contact h4 {
    color: #e53e3e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-contact p {
    margin: 0.5rem 0;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: #e53e3e;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e53e3e;
}

@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .email-btn {
        right: 2rem;
        bottom: 8rem;
    }
}

.footer p {
    opacity: 0.8;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: none;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .generator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .guide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }

    .producto-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .invoice-parties {
        grid-template-columns: 1fr;
    }

    .preview-actions {
        flex-direction: column;
    }

    .explanation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        gap: 1rem;
    }

    .flow-step {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .post-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .comparison-item {
        padding: 0.75rem;
        justify-content: space-between;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .comparison-section,
    .certifications-section {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }

    .hero-image {
        display: none;
    }

    .feature-image {
        height: 80px;
        margin-bottom: 1rem;
    }

    .document-icon, .network-icon, .pdf-icon {
        font-size: 2rem;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}
/* Chatbot Styles - WORKING VERSION */
.chat-container {
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 3px solid #e53e3e;
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 1001;
    visibility: hidden;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.chat-container.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Estilos para mensajes del chat */
.user-message {
    background: #e53e3e;
    color: white;
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 15px 15px 5px 15px;
    margin-left: 20%;
    text-align: right;
}

.bot-message {
    background: #f7fafc;
    color: #2d3748;
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 5px;
    margin-right: 20%;
    border-left: 3px solid #e53e3e;
}

.bot-message p {
    margin: 0;
    line-height: 1.5;
}

.bot-message strong {
    color: #e53e3e;
}

.typing {
    opacity: 0.7;
    font-style: italic;
}

.typing em {
    animation: typing 1.5s infinite;
}

@keyframes typing {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Estilos para formulario de captura de leads */
.lead-form {
    margin: 15px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.lead-form input {
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.lead-form input:focus {
    outline: none;
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.2);
}

.lead-form button {
    font-size: 14px;
    transition: all 0.3s ease;
}

.lead-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@keyframes chatPopup {
    from {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}


@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chat-header {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.chat-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-header h3::before {
    content: '🤖';
    font-size: 1.2rem;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.message {
    margin-bottom: 1rem;
    display: flex;
    animation: fadeInMessage 0.3s ease-out;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message p {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 0.95rem;
    word-wrap: break-word;
    position: relative;
}

.bot-message p {
    background: white;
    color: #374151;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.user-message p {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 10px rgba(229, 62, 62, 0.2);
}

.chat-input-container {
    display: flex;
    padding: 1rem;
    background: white;
    border-top: 1px solid #e5e7eb;
    gap: 0.5rem;
    align-items: center;
}

#chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

#chat-input:focus {
    border-color: #e53e3e;
    background: white;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.chat-send {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.chat-send:hover {
    background: linear-gradient(135deg, #c53030, #9b2c2c);
    transform: scale(1.05);
}

/* Quick Reply Buttons */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quick-reply {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
}

.quick-reply:hover {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    border-color: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

/* Lead Capture Form */
.lead-form {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 1.2rem;
    border-radius: 15px;
    margin: 1rem 0;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lead-form p {
    margin-bottom: 1rem;
    color: #374151;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

.lead-form input,
.lead-form select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
}

.lead-form input:focus,
.lead-form select:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.lead-form button {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.lead-form button:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .chat-container {
        width: calc(100vw - 40px);
        height: calc(100vh - 100px);
        bottom: 20px;
        right: 20px;
        left: 20px;
        top: auto;
    }
}


/* End of styles */
