/* css/product.css */

.hero h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    color: #fff;
    /* Glitch text effect setup */
    text-shadow: 2px 0 var(--accent), -2px 0 #00ffff;
    letter-spacing: -4px;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--accent);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--font-tech);
    box-shadow: 0 0 20px rgba(255, 62, 62, 0.3);
}

.cta-button:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* Visualizer - Improved Meter Look */
.visualizer {
    display: flex; gap: 6px; align-items: flex-end;
    height: 150px;
    position: absolute; right: 10%; bottom: 20%;
    z-index: 0; opacity: 0.5;
}

.bar {
    width: 12px;
    background: var(--accent);
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent);
}
@keyframes pulse { 0%, 100% { height: 20px; opacity: 0.3; } 50% { height: 100px; opacity: 1; } }
/* Stagger the bars */
.bar:nth-child(odd) { animation-duration: 1.2s; }
.bar:nth-child(even) { animation-duration: 0.9s; }

/* Features */
.features-grid { gap: 2rem; margin-top: 4rem; }
.feature {
    background: var(--bg-panel);
    border: 1px solid var(--border-dim);
    padding: 2rem;
    transition: 0.3s;
}
.feature:hover { border-color: var(--accent); }
.feature h3 { color: #fff; font-size: 1.2rem; margin-bottom: 1rem; text-transform: uppercase; }

/* Specs - Datasheet Style */
.specs { background: #080808; border-top: 1px solid var(--border-dim); }
.specs-list li {
    border-bottom: 1px dashed #333; /* Dashed technical lines */
    padding: 1rem 0;
    display: flex; justify-content: space-between;
}
.specs-list li span:first-child { font-family: var(--font-tech); color: #666; }
.specs-list li span:last-child { font-family: var(--font-tech); color: var(--accent); }

/* Download Terminal Styles */
.download-section {
    padding: 6rem 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-dim);
}

.terminal-window {
    background: #000;
    border: 1px solid var(--border-dim);
    font-family: var(--font-tech);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.terminal-header {
    background: #111;
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid var(--border-dim);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.status-light {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: blink 2s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.terminal-body { padding: 3rem; }

.system-check {
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.system-check .prompt { color: var(--accent); margin-right: 10px; }
#os-detect-msg { color: #fff; }

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.dl-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #333;
    padding: 1.5rem;
    color: #888;
    transition: all 0.2s;
    background: rgba(255,255,255,0.02);
}

.dl-btn:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
    color: #fff;
}

/* The Recommended State (Triggered by JS) */
.dl-btn.recommended {
    border-color: var(--accent);
    background: rgba(255, 62, 62, 0.05);
    box-shadow: 0 0 15px rgba(255, 62, 62, 0.1);
}

.dl-btn.recommended .dl-name { color: var(--accent); }
.dl-btn.recommended .dl-icon { color: var(--accent); border-color: var(--accent); }

.dl-icon {
    font-weight: 900;
    font-size: 0.9rem;
    border: 1px solid #444;
    padding: 0.5rem;
    width: 50px; text-align: center;
}

.dl-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.dl-name { font-weight: 700; color: #fff; font-size: 0.9rem; }
.dl-meta { font-size: 0.7rem; color: #666; }
.dl-arrow { font-size: 1.5rem; }

.manual-links {
    border-top: 1px dashed #333;
    padding-top: 1.5rem;
    display: flex; gap: 2rem;
    font-size: 0.8rem;
}

.manual-links a { color: #666; transition: 0.2s; }
.manual-links a:hover { color: var(--accent); }

@media (max-width: 768px) {
    .manual-links { flex-direction: column; gap: 1rem; }
    .terminal-body { padding: 1.5rem; }
}
