/* =====================================================
   VRISVA DARK PAGES — dark-pages.css
   Converts the legacy light-themed product/system pages
   to the site-wide dark design system. Loaded AFTER each
   page's inline <style> block so equal-specificity rules
   here win the cascade.
===================================================== */

/* ── Page shell ── */
body {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59, 130, 246, 0.10) 0%, transparent 60%),
        #030610;
    color: #94a3b8;
}
.page-container {
    color: #94a3b8;
}
body.vrisva-dark .page-container,
body.has-vnav .page-container {
    background: transparent;
}
.page-header p {
    color: #94a3b8;
}

/* ── Content cards ── */
.content-card {
    background: rgba(8, 16, 36, 0.88);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.content-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(59, 130, 246, 0.35);
}
.content-card h2 { color: #60a5fa; }
.content-card h3 { color: #93c5fd; }
.content-card p,
.content-card ul,
.content-card li { color: #94a3b8; }
.content-card a { color: #60a5fa; }
.content-card strong { color: #e2e8f0; }

/* Specialty tints: translucent colour glows over the dark card base */
.highlight-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.10), rgba(8, 16, 36, 0.88));
    border: 1px solid rgba(14, 165, 233, 0.3);
}
.feature-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.09), rgba(8, 16, 36, 0.88));
    border: 1px solid rgba(16, 185, 129, 0.28);
}
.tech-card {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.09), rgba(8, 16, 36, 0.88));
    border: 1px solid rgba(249, 115, 22, 0.28);
}
.innovation-card {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.09), rgba(8, 16, 36, 0.88));
    border: 1px solid rgba(251, 191, 36, 0.28);
}
.service-card {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.09), rgba(8, 16, 36, 0.88));
    border: 1px solid rgba(217, 70, 239, 0.28);
}

/* ── Specification / performance tables ── */
.specifications-table th,
.performance-table th {
    background: rgba(59, 130, 246, 0.10);
    color: #60a5fa;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}
.specifications-table td,
.performance-table td {
    color: #94a3b8;
    border-bottom: 1px solid rgba(59, 130, 246, 0.12);
}
.specifications-table tr:hover,
.performance-table tr:hover {
    background: rgba(59, 130, 246, 0.06);
}
.specs-table-container {
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(8, 16, 36, 0.6);
}

/* ── Product hero images: keep the white "photo frame" look ── */
.hero-product-image {
    background: #ffffff;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}
.hero-image-caption,
.image-caption {
    color: #64748b;
}

/* ── Config tabs (motion platform pages) ── */
.tabs-container,
.motion-platform-tabs {
    background: transparent;
}
.tab-link {
    background: rgba(8, 16, 36, 0.88);
    border: 1px solid rgba(59, 130, 246, 0.22);
    color: #93c5fd;
}
.tab-link:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #ffffff;
}
.tab-link.active,
.tab-link.current {
    background: linear-gradient(135deg, #1d4ed8, #4f46e5);
    color: #ffffff;
    border-color: transparent;
}
.tabs-description { color: #94a3b8; }

/* ── Testimonials ── */
.testimonial-card {
    background: rgba(8, 16, 36, 0.88);
    border: 1px solid rgba(59, 130, 246, 0.15);
}
.testimonial-content p { color: #cbd5e1; }
.testimonial-author { color: #60a5fa; }

/* ── Misc content blocks ── */
.tech-highlight {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #cbd5e1;
}
.tech-list li { color: #94a3b8; }
.product-intro p { color: #94a3b8; }

/* ── Legacy footer bar ── */
.footer {
    background: rgba(2, 5, 9, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
}
.company-name { color: #93c5fd; }
.company-address { color: #64748b; }
.rights-text { color: #64748b; }
.contact-link { color: #60a5fa; }
.footer-logo-link img { filter: brightness(0) invert(1); }

/* ── Contact page ── */
.contact-container { color: #94a3b8; }
.contact-header h1 { color: #f1f5f9; }
.contact-header p { color: #94a3b8; }
.contact-info,
.contact-form {
    background: rgba(8, 16, 36, 0.88);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: #94a3b8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.contact-info h2,
.contact-form h2 { color: #60a5fa; }
.contact-info p { color: #94a3b8; }
.contact-info strong { color: #e2e8f0; }
/* The embedded Microsoft Form stays a white card — its internals
   cannot be themed from here. */
.microsoft-form-container {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}

/* ── Generic text elements that inline styles paint dark ── */
h1, h2, h3, h4 { color: #f1f5f9; }
