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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.adsense-banner,
.adsense-footer {
    background-color: #f9f9f9;
    border: 1px dashed #ccc;
    padding: 20px;
    border-radius: 8px;
}

/* Header Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle:hover span {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
}


/*seccion card del blog*/
.tips-section {
    background: #f9fafe;
    padding: 60px 20px;
}

.tips-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.tips-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #4f46e5;
    margin-bottom: 40px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tips-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.tips-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tips-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.tips-card-content {
    padding: 20px;
    flex-grow: 1;
}

.tips-card-content a {
    font-size: 1.1rem;
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
    display: block;
}

.tips-card-content a:hover {
    text-decoration: underline;
}
/*fin seccion card del blog*/
.footerMenu {
    color: white;
    text-align: center;
}

.footerMenu .nav-links {
    justify-content: center;
}

.footerMenu a {
    color: white;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.main-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.upload-area {
    border: 3px dashed #667eea;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(45deg, #f8f9ff, #e8f0ff);
}

.upload-area:hover {
    border-color: #764ba2;
    background: linear-gradient(45deg, #f0f4ff, #e0e8ff);
    transform: translateY(-2px);
}

.upload-area.dragover {
    border-color: #764ba2;
    background: linear-gradient(45deg, #e8f0ff, #d8e8ff);
}

.upload-icon {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 20px;
}

.upload-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

.upload-subtext {
    color: #888;
    font-size: 0.9rem;
}

#imageInput {
    display: none;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e0e8ff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.option-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.option-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.option-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    accent-color: #667eea;
}

.option-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.option-description {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

.resize-controls {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.resize-controls input,
.resize-controls select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 0.9rem;
}

.resize-controls label {
    font-size: 0.85rem;
    display: block;
    margin-top: 10px;
}

.process-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.process-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.process-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.result-area {
    display: none;
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
    text-align: center;
}

.result-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.download-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 16px rgba(40, 167, 69, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(40, 167, 69, 0.4);
}

.progress-bar {
    display: none;
    width: 100%;
    height: 6px;
    background: #e0e8ff;
    border-radius: 3px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.image-info {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    text-align: left;
    font-size: 0.9rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .main-card {
        padding: 20px;
    }

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

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e0e8ff;
}

.contact-form {
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e0e8ff;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.contact-details h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-details p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e8ff;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.back-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
}

.highlight-box {
    background: #e8f0ff;
    padding: 1.5rem;
    border-left: 4px solid #667eea;
    margin: 2rem 0;
    border-radius: 5px;
}

.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-bottom: 1rem;
}

.error-message {
    display: none;
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.terms-section {
    margin-bottom: 2rem;
}

.terms-section h2 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.terms-section h3 {
    color: #764ba2;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.terms-section p,
.terms-section li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

.terms-section ul {
    padding-left: 1.5rem;
}

.highlight {
    background: #e8f0ff;
    padding: 1rem;
    border-left: 4px solid #667eea;
    margin: 1rem 0;
    border-radius: 5px;
}

.back-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.success-box {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}


.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.policy-section h3 {
    color: #764ba2;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.policy-section p,
.policy-section li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

.policy-section ul {
    padding-left: 1.5rem;
}

.highlight {
    background: #e8f0ff;
    padding: 1rem;
    border-left: 4px solid #667eea;
    margin: 1rem 0;
    border-radius: 5px;
}

.back-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
}

/* Estilos para la sección de información */
.info-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 0;
    margin-top: 40px;
}

.info-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.info-card h3 {
    color: #667eea;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.info-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
}

.info-card strong {
    color: #333;
    font-weight: 600;
}

.advantages {
    margin: 20px 0;
}

.advantages h4 {
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    background: rgba(102, 126, 234, 0.05);
    margin: 8px 0;
    padding: 12px 15px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    color: #555;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.info-card li:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.info-card code {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Sección de resumen */
.summary-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.summary-section h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 600;
}

.benefits-table {
    overflow-x: auto;
    margin-top: 20px;
}

.benefits-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefits-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.benefits-table td {
    padding: 15px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    font-size: 0.9rem;
    color: #555;
}

.benefits-table tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.benefits-table td:first-child {
    font-weight: 600;
    color: #667eea;
    text-align: left;
}

.benefits-table td:not(:first-child) {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .info-section {
        padding: 40px 0;
    }

    .info-section h2 {
        font-size: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card {
        padding: 20px;
    }

    .info-card h3 {
        font-size: 1.2rem;
    }

    .summary-section {
        padding: 25px;
    }

    .summary-section h3 {
        font-size: 1.5rem;
    }

    .benefits-table th,
    .benefits-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .info-card {
        padding: 15px;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    .info-card p,
    .info-card li {
        font-size: 0.9rem;
    }

    .benefits-table {
        font-size: 0.8rem;
    }

    .benefits-table th,
    .benefits-table td {
        padding: 8px 6px;
    }
}