/* Section containers */
.section-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 43px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.005em;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    color: #6e6e73;
}

/* Hero Product Section */
.hero-product {           
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

.hero-title-pd {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.005em;
}

.hero-subtitle-pd {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #a5a5a7;
}

.hero-description {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #6e6e73;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image-container {
    width: 100%;
    max-width: 1000px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.hero-product-image {
    background-image: none;
    background-repeat: no-repeat;
    background-color: #1d1d1f;
    background-size: 90% cover;
    width: 100%;
    height: auto;
    object-fit: contain;
    
}

/* Specs Section */
.specs-section {
    background-color: #ffffff;
    padding: 10px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.spec-card {
    background-color: #f5f5f7;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.spec-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.spec-detail {
    font-size: 16px;
    color: #6e6e73;
    line-height: 1.4;
}

/* Technical Specifications Table */
.tech-specs-table {
    background-color: #f5f5f7;
    border-radius: 20px;
    padding: 15px;
    margin-top: 40px;
    
}
.tech-specs-table-mid {    
    background-color: #f5f5f7;
    border-radius: 20px;
    padding: 15px;
    margin-top: 40px;
    width: 50%; /* Sets the table width to 50% of its container */
    margin: 0 auto; /* Centers the table horizontally */
}

.table-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.specs-table {
    width: auto;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #d2d2d7;
    font-size: 12px;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 10px 10px;
    font-size: 12px;
    line-height: 1.4;
}

.spec-category {
    font-weight: 500;
    color: #1d1d1f;
    width: 10%;
    
}

.spec-value {
    color: #6e6e73;
}

/* Contenedor responsivo para tablas grandes */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
/* Download Section */
.download-section {
    background-color: #000000;
    color: #f5f5f7;
    padding: 25px 0;
}

.download-section .section-title,
.download-section .section-subtitle {
    color: #f5f5f7;
}

.download-grid {
    display: flex; /* Convierte el contenedor en un flex container */
    justify-content: center; /* Centra los items hijos horizontalmente */
    flex-wrap: wrap; /* Permite que los items salten de línea si no caben */
    gap: 15px; /* Espacio entre los items */
}

.download-card {
    background-color: rgba(255, 255, 255, 0.20);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;    
    max-width: 300px;
    flex: 1 1 300px; /* Allow the card to grow and shrink */
}

.download-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.25);
}

.download-icon {
    width: 100px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;    
}

.download-icon-product {
    width: 40%;
    height: 30%;
    margin: 0 auto 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Evita que el icono se encoja */
}
.download-icon-product-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f5f5f7;
}

.download-description {
    font-size: 16px;
    color: #a1a1a6;
    margin-bottom: 20px;
    line-height: 1.0;
}

.download-content {
    flex-grow: 1; /* Permite que esta columna ocupe el espacio disponible */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra el contenido de esta columna */
    text-align: center; /* Centra el texto */
    height: 40%;
    margin-top: 20px;
}

.download-link-container {
    flex-shrink: 0; /* Evita que el botón se encoja */
    align-self: flex-end; /* Alinea el botón al final del contenedor flex */
    height: 30%;
    align-content: flex-end;
}

.download-product-img {
    max-width: 200px;
    height: 70%;
    margin-top: 1px;
}

.download-card h1 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
}

.download-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.2;
    color: #b5b5b5;
    padding-bottom: 0.5rem;
}

/* Video pop-up */
.overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            z-index: 9999;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .overlay.active {
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 1;
        }
        
        /* Contenedor del video */
        .video-popup {
            width: 90%;
            max-width: 1000px;
            background-color: transparent;
            position: relative;
        }
        
        /* Botón de cerrar minimalista */
        .close-btn {
            position: absolute;
            top: -50px;
            right: 0;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            font-size: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }
        
        .close-btn:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        
        /* Contenedor con proporción 16:9 */
        .aspect-ratio {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 */
            height: 0;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border-radius: 12px;
        }
        
        .aspect-ratio iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 12px;
        }

/* Contact Section */
.contact-section {
    background-color: #fbfbfd;
    padding: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-info-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.contact-detail {
    font-size: 16px;
    margin-bottom: 15px;
    color: #6e6e73;
    line-height: 1.4;
}

.social-links {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}

.social-link {
    color: #0066cc;
    text-decoration: none;
    margin-right: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #0055aa;
    text-decoration: underline;
}

.contact-form-container {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:nth-child(3),
.form-group:nth-child(4),
.form-group:nth-child(5),
.form-group:nth-child(6) {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #6e6e73;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 16px;
    color: #1d1d1f;
    background-color: #f5f5f7;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .orange-button {
    grid-column: span 2;
    justify-self: center;
    margin-top: 10px;
}

/* Styles for checkbox form group */
.form-group.checkbox-group {
  display: flex;
  align-items: center;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

/* Hide the default checkbox */
.checkbox-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkbox-group label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  user-select: none;
}

.checkbox-group label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease;
}

/* Style the checkmark */
.checkbox-group label:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.2s ease;
}

/* Style for checked state */
.checkbox-group input[type="checkbox"]:checked + label:before {
  background-color: #4a90e2;
  border-color: #4a90e2;
}

.checkbox-group input[type="checkbox"]:checked + label:after {
  opacity: 1;
}

/* Style for the privacy policy link */
.checkbox-group label a {
  color: #4a90e2;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.checkbox-group label a:hover {
  color: #2a70c2;
  text-decoration: underline;
}

/* Focus state for accessibility */
.checkbox-group input[type="checkbox"]:focus + label:before {
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

/* Smartphones til landscape */
@media (max-width: 768px) {
    .download-grid {
    display: flex; /* Convierte el contenedor en un flex container */
    justify-content: center; /* Centra los items hijos horizontalmente */
    flex-wrap: wrap; /* Permite que los items salten de línea si no caben */
    gap: 15px; /* Espacio entre los items */
    }
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
    }
    .specs-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        margin-bottom: 60px;
        padding: 0 20px;
    }
    
    .hero-title-pd {
        font-size: 45px;
        font-weight: 600;
        margin-bottom: 10px;
        letter-spacing: -0.005em;
    }
    
    .hero-subtitle-pd {
        font-size: 23px;
        font-weight: 400;
        margin-bottom: 20px;
        color: #a5a5a7;
    }
    .form-group:nth-child(1),
    .form-group:nth-child(2),
    .form-group:nth-child(3),
    .form-group:nth-child(4),
    .form-group:nth-child(5),
    .form-group:nth-child(6) {
        grid-column: span 2;
    }
    .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* mejora en móviles */
  }

  .table-responsive table {
    min-width: 700px; /* ancho mínimo para forzar scroll */
  }

  .tech-specs-table-mid {    
    background-color: #f5f5f7;
    border-radius: 20px;
    padding: 15px;
    margin-top: 40px;
    width: 100%; /* Sets the table width to 100% of its container */
    margin: 0 auto; /* Centers the table horizontally */
}
.specs-table tbody tr td {
    padding: 10px 10px;
    font-size: 12px;
    line-height: 1.4;
}

}

/* Tablets and small pc's */
@media (max-width: 1024px) and (min-width: 769px) {
    .download-grid {
    display: flex; /* Convierte el contenedor en un flex container */
    justify-content: center; /* Centra los items hijos horizontalmente */
    flex-wrap: wrap; /* Permite que los items salten de línea si no caben */
    gap: 15px; /* Espacio entre los items */
    }
    .specs-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-bottom: 60px;
    }

}