:root {
    --primary-color: #00bcd4; /* Cyan/Aqua for High-Tech accent */
    --secondary-color: #263238; /* Deep Slate Background */
    --light-background: #37474f; /* Card Background */
    --text-color: #e8f5e9; /* Light Mint Text */
    --shadow: 0 8px 15px rgba(0, 0, 0, 0.4); /* Deeper shadow */
    --border-radius: 6px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1280px; 
    margin: 0 auto;
    padding: 20px 0;
}

/* --- Header/Navigation --- */
header {
    background: rgba(38, 50, 56, 0.95); 
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px); 
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row; /* CORREÇÃO: Garante horizontal no Desktop */
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* --- Hero Section Corrigida --- */
.hero-container {
    position: relative;
    text-align: center;
    min-height: 450px; /* Mudado para min-height para ser flexível */
    margin-bottom: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;         /* Centramento via Flexbox */
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.4);
}

.hero-content {
    position: relative; /* Mudado de absolute para relative para respeitar o fluxo */
    z-index: 10;
    width: 90%;
    max-width: 800px;
    color: white;
    padding: 40px 20px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    margin-bottom: 30px;
}

.cta-button {
    background: linear-gradient(90deg, #00bcd4, #00e5ff); 
    color: var(--secondary-color);
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, opacity 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.4);
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* --- Audience Selector --- */
.audience-selector {
    text-align: center;
    margin-bottom: 60px;
}

.audience-selector h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 600;
}

.audience-button {
    display: inline-block;
    background: var(--light-background);
    color: var(--text-color);
    padding: 15px 35px;
    margin: 0 15px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.audience-button:hover, .audience-button.active {
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 188, 212, 0.2);
}


/* --- Key Features Section --- */
.features {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 60px;
    gap: 30px;
}

.feature-item {
    padding: 30px;
    background: var(--light-background);
    border-radius: var(--border-radius);
    flex: 1;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-color); 
    transition: background-color 0.3s;
}

.feature-item:hover {
     background-color: #455a64;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.6em;
    font-weight: 700;
}

/* --- Product Grid --- */
h2#kits {
    color: var(--primary-color);
    text-align: center;
    margin: 50px 0 30px;
    font-size: 2.5em;
    font-weight: 800;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--light-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 188, 212, 0.15); 
}

.product-image {
    width: 100%;
    height: 220px; 
    object-fit: contain; 
    display: block;
    background-color: white; 
    border-bottom: 4px solid var(--primary-color);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 1.6em;
    font-weight: 800;
}

.product-info p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #90a4ae;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    padding-left: 0;
}

.features-list li {
    background: var(--secondary-color);
    padding: 8px 12px;
    margin: 6px 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    font-size: 0.95em;
}

.features-list li::before {
    content: "✦"; 
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.1em;
}

.price {
    font-size: 2.8em;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 20px;
}

.add-to-cart {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
    margin-top: auto;
    text-transform: uppercase;
}

.add-to-cart:hover {
    background-color: #00e5ff;
    transform: translateY(-1px);
}

/* --- Compliance Section --- */
.compliance-section {
    background-color: #1e272e;
    padding: 50px;
    margin-top: 60px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #00bcd440;
}

.compliance-section h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2em;
}

/* --- Footer --- */
footer {
    background-color: #1e272e;
    color: #90a4ae;
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 5px solid var(--primary-color);
}

footer p {
    margin: 8px 0;
    font-size: 0.9em;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        flex-direction: row; /* Mantém links em linha se couberem */
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }

    .hero-container {
        height: auto; /* Deixa a imagem esticar no telemóvel */
        min-height: 550px; 
        padding: 40px 0;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 1.8em;
        line-height: 1.2;
    }

    .features, .product-grid {
        flex-direction: column;
    }

    .feature-item {
        margin-bottom: 20px;
    }

    nav ul li a {
        padding: 5px 10px;
    }

    .audience-button {
        display: block;
        margin: 10px auto;
    }
}

/* --- ESTILOS PÁGINA DO PRODUTO --- */
.product-detail-hero { display: flex; gap: 40px; margin-top: 30px; margin-bottom: 60px; }
.product-gallery { flex: 1; max-width: 600px; }
.main-product-image { width: 100%; height: 400px; object-fit: contain; background-color: #1e272e;border-radius: var(--border-radius); box-shadow: var(--shadow); border: 2px solid var(--light-background); }
.thumbnail-images { display: flex; gap: 10px; margin-top: 15px; overflow-x: auto; }
.thumbnail { width: 100px; height: 70px; object-fit: cover; border-radius: 4px; cursor: pointer; opacity: 0.7; border: 2px solid transparent; }
.thumbnail.active { opacity: 1; border-color: var(--primary-color); }
.product-summary { flex: 1; padding: 20px; }
.product-summary h1 { font-size: 3em; color: var(--text-color); margin-bottom: 15px; }
.price-large { font-size: 3.5em; color: var(--primary-color); font-weight: 900; }
.cta-section { display: flex; gap: 15px; margin-top: 30px; align-items: center; }
.qty-input { width: 70px; padding: 10px; border: 2px solid var(--primary-color); border-radius: var(--border-radius); background-color: var(--secondary-color); color: var(--text-color); text-align: center; }

/* Specifications Section */
.specifications { margin-bottom: 80px; }
.specifications h2 { color: var(--text-color); font-size: 2em; margin-bottom: 30px; border-bottom: 3px solid var(--primary-color); padding-bottom: 10px; }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.spec-card { background: var(--light-background); padding: 30px; border-radius: var(--border-radius); box-shadow: var(--shadow); }
.spec-card h3 { color: var(--primary-color); margin-bottom: 20px; }
.spec-card li { border-bottom: 1px solid #455a64; padding: 8px 0; list-style: none; }

/* HDD Storage Options */
.storage-options { padding: 20px; margin-top: 25px; background-color: #1e272e; border: 1px solid var(--primary-color); border-radius: var(--border-radius); }
#hdd_choice { width: 100%; padding: 10px; border: 2px solid var(--primary-color); border-radius: var(--border-radius); background-color: var(--secondary-color); color: var(--text-color); }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--light-background); border-top: 3px solid var(--primary-color); padding: 20px 0; z-index: 9999; }
.cookie-banner.hidden { transform: translateY(100%); transition: 0.4s; }
.cookie-banner-content { width: 90%; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }

/* Privacy Policy */
.privacy-policy { padding: 40px; background-color: var(--light-background); border-radius: var(--border-radius); margin-top: 40px; }
.policy-title { color: var(--primary-color); font-size: 3em; border-bottom: 3px solid var(--primary-color); padding-bottom: 15px; margin-bottom: 30px; }

@media (max-width: 900px) {
    .product-detail-hero { flex-direction: column; }
	/* Efeito de brilho nos campos quando o cliente clica para escrever */
} /* Fechei o parênteses do Media Query aqui! */
input:focus {
    outline: none;
    border-color: #00bcd4 !important;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
    transition: 0.3s;
}

/* Deixar o botão de confirmar com um efeito de "hover" */
#btn-checkout:hover {
    background: #008ba3 !important;
    transform: scale(1.02);
    transition: 0.2s;
}