/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

section {
    padding: 80px 0;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4a6cf7;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #4a6cf7, #24bddf);
    text-align: center;
    color: white;
}

.hero-logo {
    height: 120px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #fff;
    color: #4a6cf7;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button i {
    margin-right: 8px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4a6cf7;
}

.section-tagline {
    font-size: 18px;
    color: #666;
    margin-top: 15px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #4a6cf7;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #4a6cf7;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* Services Section */
.services {
    background-color: #f0f4f8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: #4a6cf7;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: #4a6cf7;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.service-link:hover {
    color: #24bddf;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Downloads Section */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.download-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.download-card:hover {
    transform: translateY(-10px);
}

.download-icon {
    background-color: #4a6cf7;
    color: white;
    font-size: 40px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
}

.download-card p {
    padding: 0 20px 20px;
    color: #666;
}

.download-info {
    display: flex;
    justify-content: space-between;
    padding: 0 20px 20px;
    color: #888;
    font-size: 14px;
}

.download-info span {
    display: flex;
    align-items: center;
}

.download-info i {
    margin-right: 5px;
}

.download-button {
    display: block;
    background-color: #4a6cf7;
    color: white;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #24bddf;
}

.download-button i {
    margin-left: 5px;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3, .contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #4a6cf7;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    color: #4a6cf7;
    font-size: 20px;
    margin-right: 15px;
    min-width: 20px;
}

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

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #4a6cf7;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: #24bddf;
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

.submit-button {
    background-color: #4a6cf7;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #24bddf;
}

/* Footer */
.footer {
    background-color: #1a1d23;
    color: #fff;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-logo {
    height: 80px;
    margin-bottom: 30px;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4a6cf7;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    color: #aaa;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-grid,
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}
/* Animaciones */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Retraso en la animación para elementos secuenciales */
.services-grid .service-card,
.downloads-grid .download-card {
    transition-delay: calc(0.1s * var(--i, 0));
}

.services-grid .service-card:nth-child(1),
.downloads-grid .download-card:nth-child(1) {
    --i: 1;
}

.services-grid .service-card:nth-child(2),
.downloads-grid .download-card:nth-child(2) {
    --i: 2;
}

.services-grid .service-card:nth-child(3),
.downloads-grid .download-card:nth-child(3) {
    --i: 3;
}

.services-grid .service-card:nth-child(4),
.downloads-grid .download-card:nth-child(4) {
    --i: 4;
}

/* Animaciones para hover */
.cta-button, .service-card, .download-card, .social-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Animación para el navbar al hacer scroll */
.navbar {
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Animación para imágenes */
.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Efecto de pulso para el botón de enviar */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 108, 247, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 108, 247, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 108, 247, 0);
    }
}

.submit-button:hover {
    animation: pulse 1.5s infinite;
}
/* Estilos para la sección de herramientas CyberAegis */
.tools {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.tools-intro {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tools-logo {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4a6cf7, #24bddf);
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 50px;
    box-shadow: 0 10px 30px rgba(74, 108, 247, 0.3);
}

.tools-description {
    flex: 1;
}

.tools-description h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.tools-description p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.github-link {
    display: inline-flex;
    align-items: center;
    background-color: #333;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.github-link i {
    margin-right: 8px;
    font-size: 18px;
}

.github-link:hover {
    background-color: #24292e;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tool-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tool-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: linear-gradient(135deg, #4a6cf7, #24bddf);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    margin-right: 15px;
}

.tool-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.tool-body {
    padding: 20px;
    flex: 1;
}

.tool-body p {
    color: #666;
    margin-bottom: 15px;
}

.tool-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #555;
}

.tool-features li i {
    color: #4a6cf7;
    margin-right: 10px;
    font-size: 14px;
}

.tool-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.tool-button {
    display: block;
    background-color: #f0f4f8;
    color: #4a6cf7;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.tool-button:hover {
    background-color: #e0e7f2;
}

.tool-button i {
    margin-left: 5px;
}

.tools-cta {
    background: linear-gradient(135deg, #4a6cf7, #24bddf);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(74, 108, 247, 0.2);
}

.tools-cta h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: white;
}

.tools-cta p {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 16px;
}

.tools-cta .cta-button {
    background-color: white;
    color: #4a6cf7;
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tools-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
/* Estilos para la demo de CyberAegis Scanner */
.tools-demo {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.demo-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.demo-icon {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: linear-gradient(135deg, #4a6cf7, #24bddf);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    margin-right: 15px;
}

.demo-header h3 {
    margin: 0;
    font-size: 22px;
    color: #333;
}

.demo-description {
    padding: 30px;
}

.demo-description p {
    margin-bottom: 25px;
    color: #666;
}

.demo-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.domain-input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.domain-input:focus {
    border-color: #4a6cf7;
    outline: none;
}

.scan-button {
    background-color: #4a6cf7;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s;
}

.scan-button i {
    margin-right: 8px;
}

.scan-button:hover {
    background-color: #3a5bd0;
}

.demo-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(74, 108, 247, 0.2);
    border-radius: 50%;
    border-top-color: #4a6cf7;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.demo-results {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.demo-results h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.results-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.tab-button {
    background-color: #e0e7f2;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s;
    white-space: nowrap;
}

.tab-button.active {
    background-color: #4a6cf7;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: #555;
}

.result-value {
    color: #333;
}

.result-table {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.table-header {
    display: flex;
    background-color: #e0e7f2;
    font-weight: 600;
}

.table-row {
    display: flex;
    border-top: 1px solid #ddd;
}

.table-cell {
    flex: 1;
    padding: 12px 15px;
    word-break: break-word;
}

.security-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(#4a6cf7 0%, #4a6cf7 0%, #e0e7f2 0%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}

.score-circle:before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
}

.score-circle span {
    position: relative;
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.score-label {
    font-size: 16px;
    color: #555;
    font-weight: 600;
}

.security-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 15px;
    background-color: white;
    border-radius: 5px;
    border-left: 5px solid;
}

.security-item.good {
    border-left-color: #28a745;
}

.security-item.warning {
    border-left-color: #ffc107;
}

.security-item.danger {
    border-left-color: #dc3545;
}

.security-item i {
    margin-right: 10px;
    font-size: 18px;
}

.security-item.good i {
    color: #28a745;
}

.security-item.warning i {
    color: #ffc107;
}

.security-item.danger i {
    color: #dc3545;
}

.results-disclaimer {
    margin-top: 30px;
    padding: 15px;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 5px;
    font-size: 14px;
    color: #666;
}

.results-disclaimer i {
    color: #4a6cf7;
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .demo-form {
        flex-direction: column;
    }
    
    .results-tabs {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
}
/* Responsive styles para herramientas */
@media (max-width: 992px) {
    .tools-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-header {
        padding: 15px;
    }
    
    .tool-body, .tool-footer {
        padding: 15px;
    }
}