@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --tech-dark: #070d1e;
    --tech-navy: #0f1a36;
    --tech-blue: #2563eb;
    --tech-cyan: #06b6d4;
    --tech-cyan-glow: rgba(6, 182, 212, 0.25);
    --tech-accent: #3b82f6;
    --tech-surface: #ffffff;
    --tech-bg: #f8fafc;
    --tech-border: #e2e8f0;
    --tech-text-dark: #0f172a;
    --tech-text-muted: #64748b;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--tech-bg);
    color: var(--tech-text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

/* Custom Cyber Circuit Background */
.tech-grid-bg {
    background-color: var(--tech-dark);
    background-image: radial-gradient(rgba(6, 182, 212, 0.15) 1px, transparent 1px),
                      radial-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px;
}

/* High-Tech Card */
.tech-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 20px 35px -8px rgba(6, 182, 212, 0.15), 0 0 0 1px rgba(6, 182, 212, 0.2);
}

/* Badges */
.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(6, 182, 212, 0.1);
    color: #0891b2;
    border: 1px solid rgba(6, 182, 212, 0.25);
}

/* Nav Links */
.nav-link-tech {
    position: relative;
    padding: 8px 14px;
    font-weight: 600;
    color: #334155;
    border-radius: 10px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
}

.nav-link-tech:hover {
    color: #0284c7;
    background: #f0f9ff;
}

/* Product Detail & Zoom Styles */
.details-page-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.breadcrumb-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: #0284c7;
}

.breadcrumb-current {
    color: #0284c7;
    font-weight: 700;
}

.details-container {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 45px;
    background: #ffffff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.image-showroom-wrapper {
    display: flex;
    gap: 18px;
}

.thumbnails-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thumb-item {
    width: 78px;
    height: 78px;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 4px;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb-item:hover, .thumb-item.active {
    border-color: #06b6d4;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.35);
}

.main-image-frame {
    flex: 1;
    height: 480px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.main-image-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* Specs Table */
.specs-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.spec-card {
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    border-left: 3px solid #06b6d4;
}

.spec-card .title-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 600;
}

.spec-card .value-lbl {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 3px;
}

@media (max-width: 992px) {
    .details-container {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .image-showroom-wrapper {
        flex-direction: column-reverse;
    }
    .thumbnails-stack {
        flex-direction: row;
        justify-content: center;
    }
    .main-image-frame {
        height: 360px;
    }
}