/**
 * Premium Design System - DJI Style
 * Ultra-premium design inspired by DJI official website
 */

/* ===== Design Tokens ===== */
:root {
    /* Colors - Bright deep-space navy tech palette */
    --color-bg-primary: #0d1730;
    --color-bg-secondary: #121f40;
    --color-bg-tertiary: #182548;
    --color-bg-card: #1a2a52;
    --color-bg-card-hover: #223563;
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #d6e2ff;
    --color-text-tertiary: #9fb0d9;
    --color-text-muted: #5a6c99;
    
    --color-accent: #38b6ff;
    --color-accent-hover: #1499f0;
    --color-accent-light: #8fdcff;
    
    --color-border: #2e3d6e;
    --color-border-light: #3d5088;
    --color-border-subtle: #20304f;
    
    /* Typography - More refined */
    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
    --font-size-6xl: 4.5rem;
    --font-size-7xl: 6rem;
    
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing - More generous */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    --space-6xl: 10rem;
    
    /* Shadows - Ultra subtle */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 45px rgba(56, 180, 255, 0.22);
    
    /* Transitions - Ultra smooth */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 600ms cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Border Radius - More refined */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* ===== Base Styles ===== */
body {
    font-family: var(--font-family);
    background-color: var(--color-bg-primary);
    background-image:
        radial-gradient(1400px 620px at 82% -12%, rgba(56, 160, 255, 0.22), transparent 62%),
        radial-gradient(1100px 700px at -5% 5%, rgba(96, 130, 255, 0.14), transparent 58%),
        radial-gradient(1000px 560px at 45% 115%, rgba(0, 210, 255, 0.12), transparent 62%),
        radial-gradient(700px 420px at 50% 0%, rgba(180, 220, 255, 0.10), transparent 60%);
    background-attachment: fixed;
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: var(--font-size-7xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.03em;
}

h2 {
    font-size: var(--font-size-5xl);
    letter-spacing: -0.025em;
}

h3 {
    font-size: var(--font-size-4xl);
}

p {
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(13, 23, 48, 0.72) !important;
    backdrop-filter: blur(22px) saturate(200%);
    -webkit-backdrop-filter: blur(22px) saturate(200%);
    border-bottom: 1px solid var(--color-border-light);
    box-shadow: 0 1px 20px rgba(56, 160, 255, 0.06);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 18, 42, 0.86) !important;
    box-shadow: 0 1px 0 var(--color-border-light);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.02em;
    color: var(--color-text-secondary) !important;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--color-text-primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero-slider {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: var(--space-4xl) var(--space-xl);
}

.hero-title {
    font-size: var(--font-size-7xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: var(--space-lg);
    background: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    color: var(--color-text-secondary);
    letter-spacing: 0.02em;
    margin-bottom: var(--space-2xl);
}

/* ===== Buttons ===== */
.btn {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    border: 1px solid var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-light);
}

.btn-outline:hover {
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
    border-color: var(--color-text-primary);
    transform: translateY(-2px);
}

/* ===== Sections ===== */
.section {
    padding: var(--space-6xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.025em;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Product Cards ===== */
.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-slow);
    cursor: pointer;
}

.product-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #ffffff;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform var(--transition-slower);
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-content {
    padding: var(--space-xl);
}

.product-card-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.product-card-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.product-card-link {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-fast);
}

.product-card-link:hover {
    color: var(--color-accent-light);
    gap: var(--space-sm);
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.cta-text {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-border-subtle);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

.footer-link {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: block;
    padding: var(--space-xs) 0;
}

.footer-link:hover {
    color: var(--color-text-primary);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-subtle);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    transform: translateY(-2px);
}

/* ===== Product Detail Page ===== */
.product-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: var(--space-4xl) 0;
}

.product-gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-subtle);
}

.product-info {
    padding: var(--space-2xl);
}

.product-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.025em;
    margin-bottom: var(--space-lg);
}

.product-specs {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.spec-table {
    width: 100%;
}

.spec-table tr {
    border-bottom: 1px solid var(--color-border-subtle);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: var(--space-md) 0;
    font-size: var(--font-size-sm);
}

.spec-table td:first-child {
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
    width: 40%;
}

.spec-table td:last-child {
    color: var(--color-text-primary);
}

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid var(--color-border-subtle);
    padding: var(--space-xl) 0;
}

.faq-question {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-answer {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp var(--transition-slower) forwards;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    :root {
        --font-size-7xl: 3rem;
        --font-size-6xl: 2.5rem;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
    }
    
    .section {
        padding: var(--space-4xl) 0;
    }
    
    .hero-content {
        padding: var(--space-2xl) var(--space-md);
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-border-light);
}

/* ===== Selection ===== */
::selection {
    background: var(--color-accent);
    color: white;
}

/* =====================================================================
   Global Header / Navigation (all pages) — deep tech style
   Applied site-wide so non-home pages share the homepage look & function
   ===================================================================== */
.site-header {
    background: rgba(18, 30, 62, 0.9) !important;
    border-bottom: 1px solid rgba(47, 168, 255, 0.28) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

.site-header.scrolled {
    background: rgba(12, 20, 42, 0.97) !important;
    box-shadow: 0 8px 30px rgba(0, 30, 80, 0.45) !important;
}

.site-header .header-inner {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 16px 40px !important;
    justify-content: flex-end !important;
    gap: 48px !important;
}

.site-header .site-logo {
    margin-right: auto !important;
    display: flex !important;
    align-items: center !important;
}

.site-header .logo-image {
    height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
}

.site-header .logo-text {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.site-header .logo-text span {
    color: #1f8cff !important;
}

.site-header .main-navigation a {
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    transition: color 0.3s ease !important;
}

.site-header .main-navigation a:hover {
    color: #1f8cff !important;
}

.site-header .main-navigation a::after {
    background: #1f8cff !important;
}

.site-header .header-cta .header-phone {
    color: rgba(255, 255, 255, 0.9) !important;
}

.site-header .header-cta .btn-primary {
    background: #1f8cff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.site-header .header-cta .btn-primary:hover {
    background: #0f74e0 !important;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4) !important;
}

/* =====================================================================
   Products Mega Menu (site-wide) — hidden by default, only on Products hover
   ===================================================================== */
.products-mega-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(18, 30, 64, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255,255,255,0.14) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 999 !important;
    padding: 40px 0 !important;
}

.products-mega-menu.active,
.products-mega-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Pure-CSS fallback: open mega menu when hovering the Products top-level link,
   so it works even if main.js is unavailable. */
.site-header:has(.main-navigation li.menu-item-has-mega:hover) .products-mega-menu,
.site-header:has(.main-navigation li.menu-item-has-mega:focus-within) .products-mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* === Blog Mega Menu (mirror of Products) === */
.blog-mega-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(18, 30, 64, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255,255,255,0.14) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 998 !important;
    padding: 36px 0 !important;
}
.blog-mega-menu.active,
.blog-mega-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
.blog-mega-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 60px;
}
.blog-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.blog-mega-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-mega-item {
    display: block;
    text-decoration: none;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.blog-mega-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.blog-mega-item .product-placeholder {
    height: 130px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(13, 22, 48, 0.6));
}
.blog-mega-title {
    display: block;
    margin-top: 12px;
    color: #e8eef7;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
}
.blog-mega-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.18);
}
.blog-mega-item:hover .blog-mega-title {
    color: #fff;
}

/* wrap so absolute panel anchors to header, not to body */
.site-header {
    position: fixed !important;
}

.mega-menu-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 200px 1fr 350px;
    gap: 60px;
}

.mega-menu-categories {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 40px;
}

.mega-menu-categories .category-title {
    color: #1f8cff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mega-menu-categories .category-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.mega-menu-categories .category-list li {
    margin-bottom: 16px;
}

.mega-menu-categories .category-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
}

.mega-menu-categories .category-list a:hover,
.mega-menu-categories .category-list a.active {
    color: #ffffff;
    padding-left: 12px;
}

.mega-menu-categories .category-list a.active {
    color: #38b6ff;
    border-left: 3px solid #1f8cff;
    padding-left: 9px;
}

.mega-product-item.hidden {
    display: none;
}

.mega-menu-categories .view-all-btn {
    display: inline-block;
    color: #ffffff;
    background: #1f8cff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mega-menu-categories .view-all-btn:hover {
    background: #0f74e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
}

.mega-menu-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-content: start;
}

.mega-product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-product-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255,255,255,0.14);
    transform: translateY(-4px);
}

.mega-product-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.mega-product-item .product-placeholder {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 102, 255, 0.05));
    border-radius: 8px;
    margin-bottom: 12px;
}

.mega-product-item .product-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.mega-menu-featured {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform .3s ease;
}
.mega-menu-featured:hover { transform: translateY(-4px); }
.mega-menu-featured:hover .featured-title { text-decoration: underline; }

.mega-menu-featured .featured-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.mega-menu-featured .featured-title {
    color: #1f8cff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.mega-menu-featured .featured-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Non-home inner page headers — upgrade to deep tech style */
.page-header {
    background:
        radial-gradient(1200px 400px at 50% -10%, rgba(0, 102, 255, 0.18), transparent 60%),
        linear-gradient(180deg, #0a0e1a 0%, #0a0e1a 60%, #0a0a0a 100%) !important;
}

.page-header::before {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(20, 20, 30, 0.0)) !important;
}

.page-header h1 {
    color: #ffffff !important;
}

.page-header .breadcrumb {
    color: rgba(255, 255, 255, 0.6) !important;
}

.page-header .breadcrumb a {
    color: #1f8cff !important;
}

/* ============================================================
   GLOBAL CONTRAST & SATURATION ENHANCEMENT
   Ensure content readable against dark-navy containers.
   ============================================================ */

/* Bright, high-saturation accent used site-wide */
:root {
    --coze-accent: #38b6ff;              /* vivid electric blue  */
    --coze-accent-2: #6fd4ff;            /* lighter cyan-blue    */
    --coze-text-bright: #f2f7ff;         /* near-white readable  */
    --coze-text-body: #cfe0ff;           /* bright blue-white    */
    --coze-text-muted: #9db4e0;          /* muted but legible    */
    --coze-text-bright: #f2f7ff;         /* near-white readable  */
    --coze-text-body: #cfe0ff;           /* bright blue-white    */
    --coze-text-muted: #9db4e0;          /* muted but legible    */
}

body {
    background-color: #0a1330 !important;
}

/* Cards separate from background via shadow only — no colored borders. */
.card,
.section,
.container,
.card-body,
.product-card,
.news-card,
.application-card,
.service-card,
.feature-item,
.advantage-item,
.scenario-item,
.certification-item,
.exhibition-card,
.certification-card,
.stat-item,
.process-step,
.panel {
    border: none !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45) !important;
}

/* Headings: pure white for maximum contrast over navy */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Body / paragraph text: bright, high-saturation blue-white */
p, li, .description, .desc, .excerpt, .card-text, .entry-content {
    color: var(--coze-text-body) !important;
}

/* Muted / meta text: keep lighter to stay legible on navy */
.meta, .card-meta, .news-meta, .date, .category, .subtitle, .section-subtitle,
.eyebrow, .label, .small, small, .muted, .text-muted, figcaption {
    color: var(--coze-text-muted) !important;
}

/* Links inside containers: vivid accent + underline on hover */
a {
    color: var(--coze-accent-2) !important;
}
a:hover {
    color: #ffffff !important;
}

/* Menu items: bright readable text over glass navy */
.main-navigation a, #primary-menu a, .menu-item a, .primary-menu a {
    color: #eaf1ff !important;
}

/* Buttons: vivid blue fill, pure white label */
.btn-primary, .button-primary, a.btn-primary, a.button-primary,
.wp-block-button__link {
    background: linear-gradient(135deg, #1f8cff 0%, #2fb8ff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 6px 22px rgba(31, 140, 255, 0.45) !important;
}
.btn-primary:hover, .button-primary:hover {
    background: linear-gradient(135deg, #2fb8ff 0%, #57d4ff 100%) !important;
    color: #ffffff !important;
}

/* Dividers / separators: neutral, no colored tint */
hr, .divider, .separator, .section-divider {
    border-color: rgba(255, 255, 255, 0.18) !important;
}

/* ============================================================
   UNIFIED BUTTON PALETTE
   Every CTA across the site uses the same brand-blue recipe.
   ============================================================ */
.btn,
.btn-primary,
.button-primary,
.btn-view-more,
.btn-all-products,
.btn-secondary,
.btn-ghost,
.btn-outline,
.wp-block-button__link,
a.btn-primary,
a.btn-view-more,
a.button-primary,
input[type="submit"],
button[type="submit"] {
    background: linear-gradient(135deg, #1f8cff 0%, #38b6ff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(31, 140, 255, 0.35) !important;
}
.btn:hover,
.btn-primary:hover,
.button-primary:hover,
.btn-view-more:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.btn-outline:hover,
.wp-block-button__link:hover,
a.btn-primary:hover,
a.btn-view-more:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background: linear-gradient(135deg, #38b6ff 0%, #57d4ff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(56, 182, 255, 0.45) !important;
}

/* Products page category filter buttons - dark grey text */
.page-template-products .product-categories-filter .cat-filter-btn,
.page-template-page-products-php .product-categories-filter .cat-filter-btn,
body.page-template-products .cat-filter-btn,
body.page-template-page-products-php .cat-filter-btn {
    color: #2b2f36 !important;
}
.page-template-products .cat-filter-btn:hover,
.page-template-page-products-php .cat-filter-btn:hover {
    color: var(--accent-color) !important;
}
.page-template-products .cat-filter-btn.active,
.page-template-page-products-php .cat-filter-btn.active {
    color: #ffffff !important;
    background: var(--accent-color) !important;
}
