/* ═══════════════════════════════════════════════════════════════
   DroneBOM Pro — Modern B2B Redesign v4.0
   Clean White + Electric Blue + Slate Dark
   Inspired by: Modern SaaS, Stripe, Tailwind UI
   Minimal, conversion-optimized, crisp B2B aesthetic
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* ══ Primary palette — Clean White + Slate ══ */
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-elevated: #f1f5f9;
    --panel: rgba(255, 255, 255, 0.98);
    --panel-solid: #f8fafc;
    --panel-border: rgba(226, 232, 240, 0.80);
    --panel-border-hover: rgba(148, 163, 184, 0.50);

    /* ══ Text hierarchy — Slate ══ */
    --text: #1e293b;
    --text-secondary: #475569;
    --muted: #94a3b8;

    /* ══ Accent — Electric Blue ══ */
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.25);
    --accent-2: #2563eb;
    --accent-2-glow: rgba(37, 99, 235, 0.18);

    /* ══ Tertiary ══ */
    --accent-3: #1d4ed8;
    --accent-3-glow: rgba(29, 78, 216, 0.14);

    /* ══ Gradients — Clean, minimal ══ */
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.90) 0%, rgba(30, 58, 138, 0.70) 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --gradient-sapphire: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);

    /* ══ Surface (light mode cards) ══ */
    --surface: #f1f5f9;
    --surface-text: #1e293b;

    /* ══ Shadows — Soft, modern ══ */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.10);
    --shadow-glow: 0 0 32px rgba(59, 130, 246, 0.15);
    --shadow-inner: inset 0 1px 0 rgba(226, 232, 240, 0.60);

    /* ══ Layout ══ */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --container: 1280px;
    --section-padding: 100px;

    /* ══ Transitions — smoother ══ */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --transition: 300ms var(--ease);
    --transition-fast: 180ms var(--ease-out);

    /* ══ Typography ══ */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

.skip-link {
    position: absolute; left: -999px; top: 0;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; background: #1e293b; color: #ffffff; padding: 12px 16px; border-radius: 8px; }

/* ── Top Bar ───────────────────────────────────────────────────── */
.topbar {
    max-height: 60px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.92);
}
.topbar__inner,
.header-main,
.footer-bottom,
.cta-strip__inner,
.hero__actions,
.product-card__actions,
.topbar__meta,
.hero__meta,
.header-actions,
.footer-contact,
.proof-list,
.menu,
.language-menu,
.footer-legal-links,
.search-form {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.topbar__inner { justify-content: space-between; min-height: 40px; color: var(--muted); font-size: 13px; letter-spacing: 0.02em; }

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    transition: box-shadow var(--transition-fast);
}
.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
.site-header.is-compact {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
.site-header.is-compact .topbar {
    max-height: 0;
    opacity: 0;
    border-bottom-width: 0;
    pointer-events: none;
}
.site-header.is-compact .header-main {
    min-height: unset; height: auto; padding-top: 4px; padding-bottom: 4px;
}
.site-header.is-compact .brand__logo {
    width: 140px;
    max-height: 40px;
    height: auto;
}
.header-main { min-height: 80px; justify-content: space-between; flex-wrap: nowrap !important; transition: min-height var(--transition-fast), padding var(--transition-fast); }
.header-actions { flex-wrap: nowrap !important; gap: 10px; }
.brand { display: flex; align-items: center; gap: 14px; max-width: 360px; }
.brand__logo {
    width: 220px; max-height: 56px; height: auto; border-radius: 8px;
    object-fit: contain;
    transition: width var(--transition);
    filter: drop-shadow(0 0 8px rgba(42, 124, 199, 0.15));
}
.brand:hover .brand__logo { filter: drop-shadow(0 0 12px rgba(42, 124, 199, 0.3)); }
.brand__copy strong { display: block; font-family: var(--font-display); font-size: 18px; letter-spacing: -0.02em; }
.brand__copy small { color: var(--muted); display: block; line-height: 1.4; font-size: 12px; }

/* ── Navigation ────────────────────────────────────────────────── */
.menu,
.language-menu,
.footer-menu { list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a,
.footer-menu a,
.language-menu a {
    color: var(--text-secondary);
    padding: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color var(--transition-fast);
}
.menu > li { margin: 0 3px; }
.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: transparent;
    color: var(--muted);
    margin-left: 4px;
    transition: transform 200ms ease;
}
.submenu-toggle span {
    width: 6px; height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    display: block;
}
.language-switcher { color: var(--muted); }
.language-switcher ul { list-style: none; padding: 0; margin: 0; }
.menu > li:hover > a,
.menu > li.current-menu-item > a,
.menu > li.current_page_item > a,
.footer-menu a { color: #94a3b8; }
.footer-menu a:hover { color: #f8fafc; }
.menu .sub-menu {
    position: absolute;
    inset: calc(100% + 12px) auto auto 0;
    min-width: 220px;
    list-style: none; margin: 0; padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 14px;
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(24px);
}
.menu li:hover > .sub-menu,
.menu li.is-open > .sub-menu,
.menu > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text-secondary); font-size: 14px; transition: background 150ms ease, color 150ms ease; }
.menu .sub-menu a:hover { background: rgba(42, 124, 199, 0.08); color: var(--text); }

/* ── Buttons ───────────────────────────────────────────────────── */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    border: none;
    background: #3b82f6;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.10);
    cursor: pointer;
}
.button:hover {
    transform: translateY(-1px);
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}
.button:active { transform: translateY(0); }
.button--ghost {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #475569;
    box-shadow: none;
}
.button--ghost:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    box-shadow: none;
    color: #1e293b;
}
.hero__actions .button--ghost {
    border-color: rgba(255, 255, 255, 0.40);
    color: #ffffff;
}
.hero__actions .button--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.60);
}
.button--outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent-light);
    box-shadow: none;
}
.button--outline::before { display: none; }
.button--outline:hover {
    background: rgba(42, 124, 199, 0.08);
    box-shadow: 0 0 24px var(--accent-glow);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0; padding: 0;
    width: 28px; height: 28px;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    justify-content: center;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 999px; transition: transform 200ms ease, opacity 200ms ease; }

/* ═══════════════════════════════════════════════════════════════
   HERO — Full-bleed image with overlay
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 58vh;
    display: flex;
    align-items: center;
    padding: 0;
}
.hero__backdrop {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Hero Carousel */
.hero__carousel {
    position: absolute; inset: 0;
    overflow: hidden;
}
.hero__slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s ease, transform 8s ease;
    will-change: opacity, transform;
}
.hero__slide.is-active {
    opacity: 1;
    transform: scale(1);
}
.hero__carousel-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}
.hero__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(26, 58, 107, 0.55);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.hero__dot.is-active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    transform: scale(1.3);
}
.hero__dot:hover {
    border-color: rgba(26, 58, 107, 0.90);
}
/* Hero text animation */
.hero__title, .hero__desc {
    animation: heroTextIn 0.9s var(--ease) both;
}
@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero__slide.is-active ~ .hero__overlay ~ * .hero__title,
.hero__slide.is-active ~ .hero__overlay ~ * .hero__desc {
    animation: heroTextIn 0.9s var(--ease) both;
}
.hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(2, 6, 23, 0.92) 0%, rgba(30, 58, 138, 0.78) 50%, rgba(2, 6, 23, 0.90) 100%);
    pointer-events: none;
}
.hero__overlay--frosted {
    backdrop-filter: blur(6px) saturate(1.1);
    -webkit-backdrop-filter: blur(6px) saturate(1.1);
}
.hero__grid,
.split,
.form-layout,
.footer-grid { display: grid; gap: 32px; }
.hero__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 88vh;
    padding: 80px 0;
}
.hero__content { text-align: center; }
.hero__actions { justify-content: center; }
.hero__copy { max-width: 720px; margin: 0 auto; text-align: center; }
.hero__copy h1,
.page-hero h1,
.section__heading h2 { font-family: var(--font-display); line-height: 1.12; margin: 12px 0; }
.hero__copy h1 {
    font-size: clamp(34px, 4.8vw, 60px);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.hero__copy p {
    margin-left: auto; margin-right: auto;
    font-size: clamp(15px, 1.15vw, 18px);
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.75;
    max-width: 540px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.20);
}
.hero__copy p,
.page-hero p,
.info-card p,
.solution-row p,
.product-card p,
.contact-panel p,
.content-card,
.timeline__item p { line-height: 1.75; }

/* Hero visual panel (right side) */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__visual-image {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid rgba(42, 124, 199, 0.12);
}
.hero__visual-badge {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(245, 248, 252, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(42, 124, 199, 0.18);
    border-radius: 14px;
    box-shadow: var(--shadow);
    white-space: nowrap;
}
.hero__visual-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}
.hero__visual-badge strong {
    color: var(--accent-light);
}

.eyebrow {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(42, 124, 199, 0.12);
    border: 1px solid rgba(42, 124, 199, 0.22);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    font-weight: 700;
}
    .hero__meta { list-style: none; padding: 0; margin: 16px 0 0; color: rgba(255, 255, 255, 0.85); font-size: 13px; justify-content: center; }
.hero__meta li,
.proof-list li { position: relative; padding-left: 20px; }
.hero__meta li::before,
.proof-list li::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: #ffffff;
    position: absolute; left: 0; top: 10px;
    box-shadow: 0 0 6px var(--accent-2-glow);
}
.hero__panel,
.hero-card,
.info-card,
.brand-card,
.product-card,
.timeline__item,
.content-card,
.form-card,
.contact-panel {
    background: var(--panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow), var(--shadow-inner);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.hero__panel { padding: 20px; display: grid; gap: 16px; }
.hero-card { padding: 22px; min-height: 128px; }
.hero-card--active { background: linear-gradient(180deg, rgba(42, 124, 199, 0.10), rgba(26, 58, 107, 0.92)); }
.hero-card span,
.metric-label,
.product-card__family { color: var(--muted); font-size: 13px; font-weight: 500; }
.hero-card strong,
.metric,
.product-card h3,
.brand-card h3,
.info-card h3,
.timeline__item h3,
.contact-panel h2 { font-family: var(--font-display); }
.contact-panel .proof-list li { color: #475569; }
.contact-panel .proof-list a { color: #3b82f6; }
.contact-panel .proof-list a:hover { color: #2563eb; }
.hero-card strong { display: block; margin-top: 12px; font-size: 20px; line-height: 1.3; }

/* ── Metrics Bar ───────────────────────────────────────────────── */
.metrics {
    padding: 0;
    background: #0f172a;
    color: #ffffff;
}
.metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: center;
}
.metric-item {
    padding: 36px 24px;
    text-align: center;
    border-right: 1px solid rgba(15, 23, 42, 0.05);
    position: relative;
}
.metric-item:last-child { border-right: none; }
.metric-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.4s ease;
}
.metric-item:hover::after { width: 60%; }
.metric {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}
.metric-label {
    margin-top: 8px;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* ── Trust Ribbon / Marquee ────────────────────────────────────── */
.trust-ribbon { padding: 0; overflow: clip; background: var(--bg); }
.trust-ribbon__inner {
    padding: 14px 0;
    border-block: 1px solid rgba(15, 23, 42, 0.05);
}
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track {
    display: inline-flex;
    gap: 48px;
    min-width: max-content;
    animation: marquee 26s linear infinite;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.marquee__track span { position: relative; }
.marquee__track span::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    margin-right: 12px;
    box-shadow: 0 0 6px var(--accent-glow);
}

/* ── Sections ──────────────────────────────────────────────────── */
.section { padding: var(--section-padding) 0; position: relative; overflow: hidden; }
.section--dark {
    background: #0f172a;
    color: #ffffff;
}
.section--dark h2,
.section--dark h3,
.section--dark .section__heading h2,
.section--dark .info-card h3,
.section--dark .solution-row h3,
.section--dark .eyebrow {
    color: #ffffff;
}
.section--dark p,
.section--dark .section__heading p,
.section--dark .info-card p,
.section--dark .solution-row p {
    color: rgba(255, 255, 255, 0.80);
}
.section--dark .feature-item {
    background: #ffffff;
    border-color: rgba(226, 232, 240, 0.80);
}
.section--dark .feature-item h3 {
    color: #1e293b;
}
.section--dark .feature-item p {
    color: #475569;
}
.section--dark .solution-row {
    border-bottom-color: rgba(255, 255, 255, 0.10);
}
.section--soft {
    background: #f8fafc;
}
/* Section with background image */
.section--image-bg {
    position: relative;
}
.section--image-bg::before {
    content: '';
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    pointer-events: none;
}
.section--image-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%);
    pointer-events: none;
}
.section--dark.section--image-bg::after {
    background: linear-gradient(180deg, #0f172a 0%, transparent 12%, transparent 88%, #0f172a 100%);
}
.section__heading { margin-bottom: 48px; max-width: 680px; }
.section__heading h2 {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.section__title-lg {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--text);
}
.section__heading p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 12px;
    line-height: 1.7;
}
.section__heading--center { max-width: none; text-align: center; margin-left: auto; margin-right: auto; }

/* ── Card Grid ─────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.card-grid--three { grid-template-columns: repeat(3, 1fr); }
.card-grid--four { grid-template-columns: repeat(4, 1fr); }
.info-card,
.brand-card,
.product-card,
.timeline__item,
.form-card,
.contact-panel,
.content-card { padding: 32px; }

/* Info cards with icon support */
.info-card__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(42, 124, 199, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}
.info-card__icon--green { background: rgba(45, 212, 191, 0.08); }
.info-card__icon--orange { background: rgba(251, 146, 60, 0.08); }

/* Interactive card hover */
.info-card:hover,
.brand-card:hover,
.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--panel-border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Card with image */
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    margin: -32px -32px 24px -32px;
    width: calc(100% + 64px);
}

.split { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.stack { display: grid; gap: 20px; }
.solution-row {
    padding: 28px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transition: padding-left 200ms ease;
}
.solution-row:hover { padding-left: 16px; }
.solution-row:last-child { border-bottom: 0; }
.solution-row h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.solution-row p { color: var(--text-secondary); }

.brand-grid,
.product-grid,
.timeline { display: grid; gap: 24px; }
.brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── Product Card ──────────────────────────────────────────────── */
.product-card__image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(26, 58, 107, 0.04);
    padding: 20px;
    margin-bottom: 16px;
    transition: transform 400ms ease;
}
.product-card:hover .product-card__image { transform: scale(1.05); }
.product-card__actions a {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    transition: color 200ms ease;
}
.product-card__actions a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 200ms ease;
}
.product-card__actions a:hover { color: var(--accent); }
.product-card__actions a:hover::after { width: 100%; }

/* ── Brand Card ────────────────────────────────────────────────── */
.brand-card {
    text-align: center;
    padding: 40px 24px;
}
.brand-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.brand-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ── Case Card ─────────────────────────────────────────────────── */
.case-card__tag {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(42, 124, 199, 0.08);
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.case-card strong { display: block; margin: 18px 0; color: #1e293b; }
.meta-stack { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.meta-stack a { color: var(--text); }
.related-section { border-top: 1px solid rgba(15, 23, 42, 0.06); }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 12px; }
.faq-item {
    border-radius: var(--radius);
    border: 1px solid var(--panel-border);
    background: var(--panel);
    overflow: clip;
    transition: border-color 200ms ease;
}
.faq-item:hover { border-color: var(--panel-border-hover); }
.faq-item__question {
    width: 100%;
    text-align: left;
    border: 0; background: transparent;
    color: var(--text);
    padding: 20px 24px;
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}
.faq-item__question::after {
    content: '+';
    font-size: 20px;
    line-height: 1;
    color: var(--accent-light);
    font-weight: 300;
    transition: transform 200ms ease;
}
.faq-item.is-open .faq-item__question::after { content: '−'; transform: rotate(180deg); }
.faq-item__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease;
}
.faq-item__answer > * { overflow: hidden; margin: 0; padding: 0 24px; }
.faq-item.is-open .faq-item__answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-item__answer > * { padding-bottom: 20px; }
.split--faq { grid-template-columns: 0.86fr 1.14fr; }

/* ── Industry Showcase ─────────────────────────────────────────── */
.industry-showcase {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}
.industry-tabs { display: grid; gap: 10px; }
.industry-tab {
    text-align: left;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(26, 58, 107, 0.04);
    color: var(--text-secondary);
    border-radius: 14px;
    padding: 18px 20px;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease, color 200ms ease;
    cursor: pointer;
}
.industry-tab:hover,
.industry-tab.is-active {
    transform: translateX(4px);
    border-color: rgba(42, 124, 199, 0.25);
    background: rgba(42, 124, 199, 0.06);
    color: var(--text);
    box-shadow: 0 4px 16px rgba(42, 124, 199, 0.06);
}
.industry-panels { position: relative; }
.industry-panel {
    position: absolute; top: 0; left: 0; right: 0;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: opacity 300ms ease, transform 300ms ease, visibility 300ms ease;
    padding: 32px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.industry-panel.is-active { opacity: 1; visibility: visible; transform: translateY(0); position: relative; }

/* ── CTA Strip ─────────────────────────────────────────────────── */
.cta-strip {
    background: var(--bg-soft);
}
.cta-strip__inner {
    justify-content: space-between;
    padding: 44px 52px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #2563eb 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.20);
}
.cta-strip__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.10) 0%, transparent 50%);
    pointer-events: none;
}
.cta-strip__inner h2 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.cta-strip__inner .eyebrow {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.cta-strip__inner .button {
    background: #fff;
    color: var(--bg);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
}
.cta-strip__inner .button--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.40);
    color: #ffffff;
    box-shadow: none;
}

/* ── Page Hero ─────────────────────────────────────────────────── */
.page-hero {
    position: relative;
    padding: 80px 0 48px;
    min-height: 35vh;
    display: flex;
    align-items: center;
    overflow: clip;
    background-image: url('../images/hero/hero-new.webp');
    background-size: cover;
    background-position: center;
}
.page-hero .container {
    position: relative;
    z-index: 2;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.90) 0%, rgba(30, 58, 138, 0.75) 50%, rgba(15, 23, 42, 0.88) 100%);
    pointer-events: none;
    backdrop-filter: blur(4px) saturate(1.05);
    -webkit-backdrop-filter: blur(4px) saturate(1.05);
    z-index: 1;
}
.page-hero--compact h1 { font-size: clamp(24px, 3vw, 36px); color: #ffffff; }
.page-hero p { color: rgba(255,255,255,0.80); }
.page-hero .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ── Product Detail ────────────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail__image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: var(--radius-lg);
    background: rgba(26, 58, 107, 0.04);
    border: 1px solid var(--panel-border);
    padding: 32px;
    transition: transform 400ms ease;
}
.product-detail__image:hover { transform: scale(1.02); }
.product-detail__info { display: grid; gap: 24px; }
.product-detail__brand {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(42, 124, 199, 0.08);
    border: 1px solid rgba(42, 124, 199, 0.16);
    color: var(--accent-light);
    font-weight: 600;
    font-size: 13px;
}
.product-detail__family {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(45, 212, 191, 0.06);
    color: var(--accent-2);
    font-size: 12px;
}
.product-detail__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
}
.product-detail__spec { display: grid; gap: 4px; }
.product-detail__spec-label { color: var(--muted); font-size: 12px; }
.product-detail__spec-value { color: var(--text); font-weight: 600; font-size: 14px; }
.product-detail__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Archive Filters ───────────────────────────────────────────── */
.archive-filters { margin-bottom: 24px; }
.archive-filters__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}
.archive-filters label { display: grid; gap: 10px; color: var(--muted); font-size: 13px; }
.archive-filters select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(26, 58, 107, 0.04);
    min-height: 48px;
    padding: 12px 16px;
    color: var(--text);
    font: inherit;
    transition: border-color 200ms ease;
}
.archive-filters select:focus { border-color: rgba(42, 124, 199, 0.35); }
.archive-filters__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Products Layout (Sidebar + Main) ──────────────────────────── */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}
.products-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 20px;
}
.sidebar-group {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.sidebar-group__title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    color: var(--text);
}
.sidebar-filter select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255,255,255,0.80);
    min-height: 42px;
    padding: 10px 14px;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    transition: border-color 200ms ease;
    cursor: pointer;
}
.sidebar-filter select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.10); }

/* Category List */
.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
}
.category-list li { position: relative; }
.category-link {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: background 180ms ease, color 180ms ease;
    cursor: pointer; background: none; border: none; width: 100%; text-align: left; font-family: inherit;
}
.category-link:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--text);
}
.category-link.active {    background: rgba(59, 130, 246, 0.12);    color: var(--accent);    font-weight: 600;}.category-count {    font-size: 11px;    font-weight: 600;    color: var(--muted);    margin-left: 6px;    background: rgba(15, 23, 42, 0.06);    padding: 1px 7px;    border-radius: 8px;}.category-link.active .category-count {    color: var(--accent);    background: rgba(59, 130, 246, 0.10);}.products-result-bar {    display: flex;    align-items: center;    justify-content: space-between;    margin-bottom: 20px;    padding: 10px 16px;    background: var(--panel);    border: 1px solid var(--panel-border);    border-radius: var(--radius);    font-size: 14px;    color: var(--text-secondary);}#result-count {    font-weight: 600;    color: var(--text);}


/* ── Forms ─────────────────────────────────────────────────────── */
.form-layout { grid-template-columns: 0.84fr 1.16fr; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.form-grid label { display: grid; gap: 10px; color: var(--muted); font-size: 13px; }
.form-grid .full { grid-column: 1 / -1; }
input,
textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(26, 58, 107, 0.04);
    min-height: 48px;
    padding: 12px 16px;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
textarea { min-height: 160px; resize: vertical; }
input:focus,
textarea:focus { outline: none; border-color: rgba(42, 124, 199, 0.45); box-shadow: 0 0 0 3px rgba(42, 124, 199, 0.08); }
.form-notice { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.form-notice.success { background: rgba(45, 212, 191, 0.08); border: 1px solid rgba(45, 212, 191, 0.22); color: var(--accent-2); }
.form-notice.error { background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.20); color: #f87171; }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
    padding: 64px 0 48px;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__logo {
    width: 160px; height: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(42, 124, 199, 0.10));
}
.footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr; margin-bottom: 32px; }
.footer-grid h2 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 8px;
    color: #f8fafc;
    letter-spacing: -0.01em;
}
.footer-grid h3 {
    font-family: var(--font-display);
    font-size: 16px;
    margin-bottom: 16px;
    color: #f8fafc;
    letter-spacing: -0.01em;
}
.footer-grid p { color: #94a3b8; font-size: 14px; line-height: 1.6; }
.footer-contact,
.proof-list { list-style: none; margin: 0; padding: 0; align-items: flex-start; flex-direction: column; }
.footer-contact li,
.proof-list li { color: #94a3b8; font-size: 14px; }
.footer-contact a, .proof-list a { color: #cbd5e1; font-size: 14px; transition: color 200ms ease; }
.footer-contact a:hover { color: #60a5fa; }
.footer-bottom {
    justify-content: space-between;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    font-size: 13px;
}
.footer-legal-links a { color: #64748b; font-size: 13px; transition: color 200ms ease; }
.footer-legal-links a:hover { color: #f8fafc; }
.footer-legal-links a:hover { color: var(--text); }
.search-form { justify-content: flex-start; }
.search-field { min-width: min(420px, 100%); }

/* ── Scroll Reveal ─────────────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-reveal="left"] { transform: translateX(30px); }
[data-reveal="up"] { transform: translateY(30px); }
[data-reveal].is-visible { opacity: 1; transform: translate(0, 0); }

/* Staggered reveal — product grid (up to 8 items) */
.product-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.product-grid [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.product-grid [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.product-grid [data-reveal]:nth-child(4) { transition-delay: 240ms; }
.product-grid [data-reveal]:nth-child(5) { transition-delay: 320ms; }
.product-grid [data-reveal]:nth-child(6) { transition-delay: 400ms; }
.product-grid [data-reveal]:nth-child(7) { transition-delay: 480ms; }
.product-grid [data-reveal]:nth-child(8) { transition-delay: 560ms; }

/* Staggered reveal — brand grid */
.brand-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.brand-grid [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.brand-grid [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.brand-grid [data-reveal]:nth-child(4) { transition-delay: 240ms; }
.brand-grid [data-reveal]:nth-child(5) { transition-delay: 320ms; }
.brand-grid [data-reveal]:nth-child(6) { transition-delay: 400ms; }

/* Staggered reveal — card grid */
.card-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.card-grid [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.card-grid [data-reveal]:nth-child(3) { transition-delay: 160ms; }

/* Staggered reveal — BOM image cards */
.bom-images-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.bom-images-grid [data-reveal]:nth-child(2) { transition-delay: 100ms; }
.bom-images-grid [data-reveal]:nth-child(3) { transition-delay: 200ms; }

/* Staggered reveal — feature cards (3-column) */
.feature-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.feature-grid [data-reveal]:nth-child(2) { transition-delay: 100ms; }
.feature-grid [data-reveal]:nth-child(3) { transition-delay: 200ms; }

/* Staggered reveal — office cards */
.office-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.office-grid [data-reveal]:nth-child(2) { transition-delay: 120ms; }
.office-grid [data-reveal]:nth-child(3) { transition-delay: 240ms; }

/* Staggered reveal — timeline steps */
.stack [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.stack [data-reveal]:nth-child(2) { transition-delay: 120ms; }
.stack [data-reveal]:nth-child(3) { transition-delay: 240ms; }
.stack [data-reveal]:nth-child(4) { transition-delay: 360ms; }

/* Staggered reveal — FAQ items */
.faq-list [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.faq-list [data-reveal]:nth-child(2) { transition-delay: 60ms; }
.faq-list [data-reveal]:nth-child(3) { transition-delay: 120ms; }
.faq-list [data-reveal]:nth-child(4) { transition-delay: 180ms; }
.faq-list [data-reveal]:nth-child(5) { transition-delay: 240ms; }

/* Staggered reveal — info cards (cases, trust, team, certs, insights) */
.info-card[data-reveal]:nth-of-type(1) { transition-delay: 0ms; }
.info-card[data-reveal]:nth-of-type(2) { transition-delay: 100ms; }
.info-card[data-reveal]:nth-of-type(3) { transition-delay: 200ms; }
.info-card[data-reveal]:nth-of-type(4) { transition-delay: 300ms; }

/* Staggered reveal — certificate cards */
.cert-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.cert-grid [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.cert-grid [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.cert-grid [data-reveal]:nth-child(4) { transition-delay: 240ms; }
.cert-grid [data-reveal]:nth-child(5) { transition-delay: 320ms; }
.cert-grid [data-reveal]:nth-child(6) { transition-delay: 400ms; }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Floating Particles ────────────────────────────────────────── */
.particles {
    position: absolute; inset: 0;
    pointer-events: none; overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(42, 124, 199, 0.18);
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) translateX(40px); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   NEW: Image-rich section styles
   ═══════════════════════════════════════════════════════════════ */

/* Section with side image */
.section-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.section-with-image__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

/* Feature grid with icons */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* BOM images grid */
.bom-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.feature-item {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--panel-border);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--panel-border-hover);
    box-shadow: var(--shadow), var(--shadow-glow);
}
.feature-item__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}
.feature-item__icon--blue { background: rgba(42, 124, 199, 0.08); }
.feature-item__icon--green { background: rgba(42, 124, 199, 0.08); }
.feature-item__icon--orange { background: rgba(251, 146, 60, 0.08); }
.feature-item__icon--purple { background: rgba(59, 130, 246, 0.08); }
.feature-item h3 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.feature-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* Global offices with images */
.office-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.office-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.office-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--panel-border-hover);
}
.office-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.office-card__content {
    padding: 24px;
}
.office-card__content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.office-card__content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Timeline with visual steps */
.timeline-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.timeline-step__number {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: #ffffff;
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* Brand logo strip */
.brand-logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    padding: 32px 0;
    opacity: 0.6;
}
.brand-logo-strip img {
    height: 36px;
    width: auto;
    filter: grayscale(1) brightness(2);
    transition: filter 300ms ease, opacity 300ms ease;
}
.brand-logo-strip img:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

/* ── Specification Table ───────────────────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table thead tr { background: #f1f5f9; color: #1e293b; }
.spec-table th { padding: 12px 16px; text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
.spec-table td { padding: 10px 16px; border-bottom: 1px solid rgba(15, 23, 42, 0.06); }
.spec-table tbody tr:nth-child(even) { background: rgba(26, 58, 107, 0.03); }
.spec-table tbody tr:hover { background: rgba(42, 124, 199, 0.05); }

/* ── Download Button ───────────────────────────────────────────── */
.button--download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-2);
    color: var(--bg);
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.button--download:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(42, 124, 199, 0.22); }
.button--download svg { flex-shrink: 0; }
.product-detail__download { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(15, 23, 42, 0.06); }

/* ── Content Card ──────────────────────────────────────────────── */
.content-card { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 32px; }

/* ── Select Styling ────────────────────────────────────────────── */
form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    font-family: var(--font-body);
    margin-top: 8px;
    appearance: auto;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════ */

/* Subtle noise texture overlay for depth */
.site-shell {
    position: relative;
}
.site-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* Ensure content above noise */
.site-main,
.site-footer {
    position: relative;
    z-index: 1;
}

/* Enhanced card glass effect */
.info-card,
.brand-card,
.product-card,
.timeline__item,
.form-card,
.contact-panel,
.content-card,
.feature-item,
.office-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Premium gradient text utility */
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow border effect on hover for key elements */
.info-card:hover::after,
.brand-card:hover::after,
.product-card:hover::after,
.feature-item:hover::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(42, 124, 199, 0.15), rgba(42, 124, 199, 0.15));
    z-index: -1;
    opacity: 0;
    transition: opacity 300ms ease;
}
.info-card:hover::after,
.brand-card:hover::after,
.product-card:hover::after,
.feature-item:hover::after {
    opacity: 1;
}
.info-card,
.brand-card,
.product-card,
.feature-item {
    position: relative;
    z-index: 0;
}

/* Enhanced eyebrow with glow */
.eyebrow {
    box-shadow: 0 0 12px rgba(42, 124, 199, 0.06);
}

/* Premium metric counter animation */
.metric {
    filter: drop-shadow(0 0 12px rgba(42, 124, 199, 0.2));
}

/* Refined section dividers */
.section--dark + .section--soft,
.section--soft + .section--dark {
    position: relative;
}
.section--dark + .section--soft::before,
.section--soft + .section--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--gradient-accent);
    opacity: 0.3;
}

/* Enhanced button shine effect */
.button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(15, 23, 42, 0.08) 45%,
        rgba(15, 23, 42, 0.08) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 600ms ease;
    pointer-events: none;
}
.button:hover::after {
    transform: translateX(100%);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__grid { min-height: auto; padding: 60px 0; }
    .hero__visual { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .timeline,
    .brand-grid,
    .product-grid,
    .metrics__grid,
    .product-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card-grid--three { grid-template-columns: 1fr; }
    .card-grid--four { grid-template-columns: repeat(2, 1fr); }
    .split,
    .form-layout,
    .industry-showcase { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .bom-images-grid { grid-template-columns: repeat(2, 1fr); }
    .office-grid { grid-template-columns: repeat(2, 1fr); }
    .section-with-image { grid-template-columns: 1fr; }
    .products-layout { grid-template-columns: 220px 1fr; gap: 28px; }
}


/* ── Desktop Header Optimizations ─────────────────────────────── */
@media (min-width: 821px) {
    .header-main { gap: 12px; }
    .menu > li > a { font-size: 13px; padding: 8px 8px; letter-spacing: 0.02em; }
    .header-actions .button { padding: 0 18px; min-height: 36px; font-size: 13px; border-radius: 8px; }
    .search-toggle { padding: 6px; }
    .search-toggle svg { width: 18px; height: 18px; }
    .brand { max-width: 240px; }
}

@media (max-width: 820px) {
    :root { --section-padding: 72px; }
    .topbar__inner,
    .footer-bottom,
    .cta-strip__inner,
    .hero__actions,
    .product-card__actions,
    .topbar__meta { align-items: flex-start; }
    /* Hide topbar on mobile to save space */
    .topbar { display: none; }
    /* Mobile header: single row layout */
    .header-main {
        min-height: 56px;
        align-items: center !important;
        gap: 10px;
        padding: 8px 0;
    }
    .header-actions { align-items: center; gap: 8px; }
    .nav-toggle { display: inline-flex; }
    .brand__logo { width: 130px; max-height: 40px; height: auto; }
    .header-actions .button { padding: 8px 16px; font-size: 13px; min-height: 38px; white-space: nowrap; }
    .header-actions .search-toggle { width: 28px; height: 28px; }
    .site-nav {
        position: fixed;
        top: 56px;
        left: 8px;
        right: 8px;
        bottom: auto;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--panel-border);
        border-radius: 16px;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
        backdrop-filter: blur(28px);
        max-height: calc(100vh - 72px);
        z-index: 200;
        overflow-y: auto;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .menu { flex-direction: column; align-items: stretch; gap: 2px; }
    .menu > li { margin: 0; }
    .menu > li > a { color: var(--text); padding: 12px 14px; border-radius: 10px; width: 100%; font-size: 16px; }
    .menu > li:hover > a,
    .menu > li.current-menu-item > a,
    .menu > li.current_page_item > a { color: var(--accent); background: var(--bg-soft); }
    .menu .sub-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        background: transparent; border: 0; padding: 4px 0 4px 14px; box-shadow: none; display: none;
    }
    .menu li.is-open > .sub-menu { display: block; }
    .menu .sub-menu a { color: var(--text-secondary); font-size: 14px; padding: 8px 12px; }
    .submenu-toggle { margin-left: auto; }
    .header-actions .button--ghost { display: none; }
    .product-detail { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .bom-images-grid { grid-template-columns: 1fr; }
    .office-grid { grid-template-columns: 1fr; }
    .industry-showcase { grid-template-columns: 1fr; }
    .industry-tabs { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .industry-panel { padding: 24px; }
    .products-layout { grid-template-columns: 1fr; }
    .products-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .sidebar-group { padding: 18px; }
}

@media (max-width: 640px) {
    :root { --section-padding: 56px; }
    .hero, .section, .page-hero { padding-top: 40px; }
    .brand__logo { width: 110px; max-height: 36px; }
    .header-main { min-height: 50px; gap: 8px; }
    .site-nav { top: 50px; bottom: auto; max-height: calc(100vh - 60px); }
    .header-actions .button { padding: 6px 12px; font-size: 12px; }
    .hero__grid,
    .split,
    .form-layout,
    .footer-grid,
    .timeline,
    .brand-grid,
    .product-grid,
    .card-grid--three,
    .card-grid--four,
    .metrics__grid,
    .form-grid,
    .industry-showcase,
    .archive-filters__grid,
    .product-detail { grid-template-columns: 1fr; }
    .brand { max-width: none; }
    .header-main { gap: 16px; }
    .industry-panels { min-height: auto; }
    .product-detail__specs { grid-template-columns: 1fr; }
    .products-sidebar { grid-template-columns: 1fr; }
    .card-grid--four { grid-template-columns: 1fr; }
    .metric-item { padding: 20px 16px; }
    .cta-strip__inner { padding: 28px 24px; flex-direction: column; text-align: center; }
}

/* ── FAQ list page ─────────────────────────────────────────────── */
.faq-list--page { max-width: 900px; }
.faq-list:not(.faq-list--page) { margin-top: 16px; }

/* Request Quote price label */
.product-price--rfq {
    color: var(--accent-2, #3b82f6);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Search Toggle Button */
.search-toggle {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-toggle:hover {
  color: var(--accent-light);
  background: rgba(37,99,235,0.08);
}

/* Search Overlay */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--panel-border);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  padding: 20px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 99;
}
.search-overlay.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.search-overlay__inner {
  display: flex;
  align-items: center;
}
.search-overlay__form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color 0.2s ease;
}
.search-overlay__form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 124, 199, 0.12);
}
.search-overlay__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}
.search-overlay__input::placeholder {
  color: var(--muted);
}
.search-overlay__close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}
.search-overlay__close:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.06);
}

/* ═══════════════════════════════════════════════════════════════
   HERO — Carousel with frosted overlay
   ═══════════════════════════════════════════════════════════════ */
.hero {
    background: none;
}
.hero__carousel,
.hero__carousel-dots { display: block; }
.hero__overlay {
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(42, 124, 199, 0.08), transparent 50%),
        linear-gradient(135deg, rgba(26, 58, 107, 0.82) 0%, rgba(26, 58, 107, 0.55) 50%, rgba(26, 58, 107, 0.35) 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}
.hero__copy { max-width: none; width: 100%; }
.hero__copy h1 {
    font-size: clamp(36px, 5vw, 64px);
    max-width: none;
}
.hero__copy p {
    margin-left: auto; margin-right: auto;
    max-width: none;
    font-size: clamp(16px, 1.2vw, 20px);
}
.hero__copy .hero__actions,
.hero__copy .hero__meta {
    max-width: none;
}
.hero__actions {
    margin-top: 12px;
}