/* ============================================
   JOH Tech — 中电卓航科技(北京)有限公司
   Apple-Inspired Minimal Design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-bg: #FFFFFF;
    --color-bg-light: #F5F5F7;
    --color-bg-dark: #1D1D1F;
    --color-text: #1D1D1F;
    --color-text-secondary: #86868B;
    --color-text-tertiary: #B0B0B8;
    --color-link: #0071E3;
    --color-link-hover: #0077ED;
    --color-accent: #0071E3;
    --color-border: #D2D2D7;
    --color-white: #FFFFFF;
    --color-black: #1D1D1F;
    --color-hero-bg: #F5F5F7;
    --color-footer-bg: #F5F5F7;

    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    --max-width: 980px;
    --max-width-wide: 1200px;
    --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-sans); color: var(--color-text); font-size: 16px; line-height: 1.6; background: var(--color-bg); }
a { color: var(--color-link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-link-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }

h1 { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: 21px; font-weight: 600; }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 22px; }
.container-wide { max-width: var(--max-width-wide); margin: 0 auto; padding: 0 22px; }
.section-padding { padding: 100px 0; }
.bg-light { background: var(--color-bg-light); }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; font-size: 17px; font-weight: 400; border-radius: 980px; border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; line-height: 1.2; letter-spacing: -0.01em; }
.btn-primary { background: var(--color-link); color: var(--color-white); }
.btn-primary:hover { background: var(--color-link-hover); color: var(--color-white); }
.btn-secondary { background: var(--color-bg-light); color: var(--color-text); }
.btn-secondary:hover { background: #E8E8ED; }
.btn-outline { background: transparent; color: var(--color-link); border: 1px solid var(--color-link); }
.btn-outline:hover { background: var(--color-link); color: var(--color-white); }
.btn-lg { padding: 14px 30px; font-size: 19px; }
@media (max-width: 734px) { h1 { font-size: 32px; } h2 { font-size: 28px; } .section-padding { padding: 60px 0; } }

/* --- Section Header --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 48px; margin-bottom: 8px; }
.section-desc { font-size: 21px; color: var(--color-text-secondary); max-width: 600px; margin: 0 auto; font-weight: 400; }
.section-footer-cta { text-align: center; margin-top: 60px; }
@media (max-width: 734px) { .section-title { font-size: 32px; } .section-desc { font-size: 18px; } }

/* ============================================
   HEADER
   ============================================ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.98); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,0.08); }
.admin-bar .site-header { top: 32px; }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 22px; max-width: var(--max-width-wide); margin: 0 auto; }

/* Logo */
.site-branding { flex-shrink: 0; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 28px; width: auto; }
.site-title { font-size: 18px; font-weight: 600; color: var(--color-text); letter-spacing: -0.01em; }

/* Navigation */
.main-navigation { display: flex; align-items: center; }
#primary-menu { display: flex; align-items: center; gap: 0; }
#primary-menu > li > a { display: block; padding: 0 16px; font-size: 13px; font-weight: 400; color: var(--color-text); opacity: 0.85; transition: opacity var(--transition); }
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-page-ancestor > a { opacity: 1; color: var(--color-link); }
#primary-menu .sub-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); min-width: 180px; background: rgba(255,255,255,0.98); backdrop-filter: saturate(180%) blur(20px); border-radius: var(--radius-md); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all var(--transition); padding: 6px 0; }
#primary-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
#primary-menu .sub-menu li { position: relative; }
#primary-menu .sub-menu a { display: block; padding: 8px 20px; font-size: 13px; color: var(--color-text); white-space: nowrap; text-align: center; }
#primary-menu .sub-menu a:hover { color: var(--color-link); }

/* Language Switcher */
.language-switcher { display: flex; gap: 2px; }
.language-switcher li a { display: block; padding: 4px 10px; font-size: 12px; font-weight: 500; color: var(--color-text-tertiary); border-radius: 20px; transition: all var(--transition); }
.language-switcher li.current-lang a,
.language-switcher li a:hover { color: var(--color-link); background: var(--color-bg-light); }

/* Menu Toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

/* ============================================
   HERO
   ============================================ */
.hero-section { padding-top: 48px; background: var(--color-hero-bg); overflow: hidden; }
.admin-bar .hero-section { padding-top: 80px; }

.hero-inner { display: flex; align-items: center; justify-content: space-between; min-height: 560px; gap: 60px; padding: 80px 0; }
.hero-content { flex: 1; max-width: 520px; }
.hero-title { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; color: var(--color-black); }
.hero-subtitle { font-size: 22px; font-weight: 400; color: var(--color-text-secondary); margin-bottom: 28px; line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { flex: 1; display: flex; align-items: center; justify-content: center; }
.hero-image-frame { width: 100%; max-width: 480px; aspect-ratio: 4/3; background: #E8E8ED; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-placeholder { text-align: center; }
.hero-image-placeholder svg { opacity: 0.3; margin-bottom: 12px; }
.hero-image-placeholder p { font-size: 14px; color: var(--color-text-tertiary); }

@media (max-width: 834px) {
    .hero-inner { flex-direction: column; min-height: auto; padding: 60px 0 40px; gap: 40px; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-visual { width: 100%; }
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 19px; }
}

/* ============================================
   PLATFORMS GRID
   ============================================ */
.platforms-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.platform-card { background: var(--color-white); padding: 40px 20px; text-align: center; transition: all var(--transition); }
.platform-card:hover { background: var(--color-bg-light); }
.platform-icon { margin-bottom: 12px; display: flex; justify-content: center; }
.platform-icon svg { stroke: var(--color-text); opacity: 0.4; }
.platform-name { font-size: 14px; font-weight: 600; color: var(--color-text); margin-bottom: 4px; }
.platform-chips { font-size: 11px; color: var(--color-text-tertiary); }
@media (max-width: 834px) { .platforms-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .platforms-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================
   PRODUCTS GRID (Apple-style)
   ============================================ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.product-card { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition); cursor: pointer; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.product-thumb { display: block; width: 100%; aspect-ratio: 1; background: var(--color-bg-light); overflow: hidden; position: relative; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--transition); }
.product-card:hover .product-thumb img { transform: scale(1.03); }
.product-thumb-placeholder { display: flex; align-items: center; justify-content: center; background: var(--color-bg-light); }
.product-thumb-placeholder svg { opacity: 0.2; }

.product-info { padding: 20px 20px 24px; }
.product-category { display: inline-block; font-size: 11px; font-weight: 600; color: var(--color-text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.product-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 2px; }
.product-title a { color: var(--color-text); }
.product-chipset { font-size: 14px; color: var(--color-text-secondary); font-weight: 400; }
.product-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--color-link); opacity: 0; transform: translateY(4px); transition: all var(--transition); }
.product-card:hover .product-link { opacity: 1; transform: translateY(0); }

@media (max-width: 834px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; }
    .product-link { opacity: 1; transform: none; }
}

/* ============================================
   SOLUTIONS
   ============================================ */
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.solution-card { display: flex; align-items: center; gap: 20px; padding: 24px; background: var(--color-white); border-radius: var(--radius-md); border: 1px solid var(--color-border); transition: all var(--transition); }
.solution-card:hover { border-color: var(--color-link); }
.solution-icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-bg-light); border-radius: var(--radius-sm); }
.solution-icon svg { stroke: var(--color-text); opacity: 0.5; }
.solution-title { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.solution-desc { font-size: 13px; color: var(--color-text-secondary); line-height: 1.5; }
@media (max-width: 734px) { .solutions-grid { grid-template-columns: 1fr; } }

/* ============================================
   NEWS
   ============================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition); }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-thumb { display: block; width: 100%; aspect-ratio: 16/10; background: var(--color-bg-light); overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--transition); }
.news-card:hover .news-thumb img { transform: scale(1.03); }
.news-body { padding: 20px; }
.news-date { font-size: 12px; color: var(--color-text-tertiary); margin-bottom: 6px; display: block; }
.news-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.news-title a { color: var(--color-text); }
.news-title a:hover { color: var(--color-link); }
.news-excerpt { font-size: 13px; color: var(--color-text-secondary); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-link { font-size: 13px; font-weight: 500; color: var(--color-link); }
@media (max-width: 734px) { .news-grid { grid-template-columns: 1fr; } }

/* ============================================
   CTA
   ============================================ */
.cta-section { background: var(--color-bg-dark); padding: 100px 0; text-align: center; }
.cta-title { font-size: 44px; font-weight: 700; color: var(--color-white); margin-bottom: 12px; letter-spacing: -0.03em; }
.cta-desc { font-size: 19px; color: rgba(255,255,255,0.6); max-width: 540px; margin: 0 auto 28px; font-weight: 400; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 734px) { .cta-section { padding: 60px 0; } .cta-title { font-size: 32px; } }

/* ============================================
   PRODUCT FILTERS
   ============================================ */
.product-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 40px; justify-content: center; }
.filter-btn { padding: 6px 18px; font-size: 13px; font-weight: 500; background: transparent; border: 1px solid var(--color-border); border-radius: 980px; cursor: pointer; transition: all var(--transition); color: var(--color-text-secondary); }
.filter-btn:hover { border-color: var(--color-text); color: var(--color-text); }
.filter-btn.active { background: var(--color-text); color: var(--color-white); border-color: var(--color-text); }

/* ============================================
   PRODUCT SINGLE
   ============================================ */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin: 40px 0 60px; }
.product-gallery { position: sticky; top: 80px; align-self: start; }
.product-main-image { border-radius: var(--radius-md); overflow: hidden; background: var(--color-bg-light); }
.product-main-image img { width: 100%; height: auto; }
.product-image-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: var(--color-bg-light); }
.product-summary { padding-top: 20px; }
.product-meta-top { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.product-badge { font-size: 12px; font-weight: 500; color: var(--color-text-secondary); background: var(--color-bg-light); padding: 4px 12px; border-radius: 980px; }
.product-name { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; color: var(--color-black); }
.product-highlight { font-size: 19px; font-weight: 500; color: var(--color-text-secondary); margin-bottom: 16px; }
.product-excerpt { font-size: 16px; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: 24px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-specs-section { margin: 0 0 60px; }
.specs-title { font-size: 28px; font-weight: 700; margin-bottom: 24px; letter-spacing: -0.02em; }
.product-specs-table { width: 100%; border-collapse: collapse; }
.product-specs-table th,
.product-specs-table td { padding: 16px 0; text-align: left; font-size: 15px; border-top: 1px solid var(--color-border); }
.product-specs-table th { width: 160px; font-weight: 500; color: var(--color-text-secondary); }
.product-specs-table td { color: var(--color-text); }
.product-description { margin: 0 0 60px; }
.product-description h3 { font-size: 24px; margin-bottom: 16px; letter-spacing: -0.02em; }
.entry-content { font-size: 16px; line-height: 1.7; color: var(--color-text); }
.entry-content p { margin-bottom: 16px; color: var(--color-text); }
@media (max-width: 734px) {
    .product-detail-layout { grid-template-columns: 1fr; gap: 30px; }
    .product-gallery { position: static; }
    .product-name { font-size: 28px; }
}

/* ============================================
   SINGLE POST / ARCHIVE
   ============================================ */
.page-banner { padding: 100px 0 40px; text-align: center; background: var(--color-bg-light); }
.admin-bar .page-banner { padding-top: 130px; }
.page-banner .page-title { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.page-banner .page-subtitle { font-size: 19px; color: var(--color-text-secondary); max-width: 540px; margin: 0 auto; }
.post-meta-header { display: flex; gap: 16px; justify-content: center; font-size: 14px; color: var(--color-text-secondary); margin-top: 8px; }
.post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 60px; margin: 40px 0 60px; }
.post-thumbnail { margin-bottom: 30px; border-radius: var(--radius-md); overflow: hidden; }
.post-navigation { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--color-border); }

/* Post Cards in Archive */
.posts-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.post-card { display: flex; gap: 24px; background: var(--color-white); border-radius: var(--radius-md); padding: 24px; border: 1px solid var(--color-border); transition: all var(--transition); }
.post-card:hover { box-shadow: var(--shadow-md); }
.post-card .post-thumb { flex: 0 0 200px; border-radius: var(--radius-sm); overflow: hidden; }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { flex: 1; }
.post-card .post-date { font-size: 12px; color: var(--color-text-tertiary); margin-bottom: 6px; display: block; }
.post-card .post-title { font-size: 20px; margin-bottom: 8px; }
.post-card .post-excerpt { font-size: 14px; color: var(--color-text-secondary); margin-bottom: 12px; }
.post-card .post-link { font-size: 14px; font-weight: 500; color: var(--color-link); }
.archive-layout { display: grid; grid-template-columns: 1fr 280px; gap: 60px; margin: 40px 0; }

@media (max-width: 734px) {
    .post-layout, .archive-layout { grid-template-columns: 1fr; }
    .posts-list { grid-template-columns: 1fr; }
    .post-card { flex-direction: column; }
    .post-card .post-thumb { flex: none; width: 100%; aspect-ratio: 16/9; }
    .page-banner .page-title { font-size: 32px; }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination { margin: 50px 0; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 4px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: var(--radius-sm); font-size: 14px; color: var(--color-text); border: 1px solid var(--color-border); }
.pagination .current { background: var(--color-text); color: var(--color-white); border-color: var(--color-text); }
.pagination a:hover { border-color: var(--color-link); color: var(--color-link); }

/* ============================================
   404
   ============================================ */
.error-404 { padding: 120px 0; text-align: center; min-height: 60vh; display: flex; align-items: center; }
.error-content { max-width: 480px; margin: 0 auto; }
.error-code { font-size: 96px; font-weight: 700; color: var(--color-text-tertiary); line-height: 1; margin-bottom: 8px; letter-spacing: -0.04em; }
.error-title { font-size: 28px; margin-bottom: 12px; }
.error-desc { font-size: 17px; color: var(--color-text-secondary); margin-bottom: 28px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--color-footer-bg); border-top: 1px solid var(--color-border); }
.footer-widgets { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-heading { font-size: 13px; font-weight: 600; color: var(--color-text); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 16px; }
.footer-about p { font-size: 13px; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.social-link { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--color-text-tertiary); transition: all var(--transition); }
.social-link:hover { color: var(--color-link); }
.footer-menu li { margin-bottom: 6px; }
.footer-menu a { font-size: 13px; color: var(--color-text-secondary); }
.footer-menu a:hover { color: var(--color-link); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--color-text-secondary); margin-bottom: 10px; }
.footer-contact-list li svg { flex-shrink: 0; margin-top: 2px; opacity: 0.5; }
.footer-bottom { padding: 20px 0; border-top: 1px solid var(--color-border); }
.footer-bottom-inner { text-align: center; }
.copyright { font-size: 12px; color: var(--color-text-tertiary); }
.copyright a { color: var(--color-text-secondary); }
.copyright a:hover { color: var(--color-link); }

@media (max-width: 734px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-widgets { padding: 40px 0 20px; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================
   SIDEBAR & WIDGETS
   ============================================ */
.widget { margin-bottom: 30px; }
.widget-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.widget ul li { padding: 6px 0; }
.widget ul li a { font-size: 14px; color: var(--color-text-secondary); }
.widget ul li a:hover { color: var(--color-link); }

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content-wrapper { display: grid; grid-template-columns: 1fr 280px; gap: 60px; margin: 40px 0 60px; }
.page-content { font-size: 16px; line-height: 1.8; }
.page-content p { margin-bottom: 16px; color: var(--color-text); }
.page-content h2 { font-size: 28px; margin: 40px 0 16px; letter-spacing: -0.02em; }
.page-content h3 { font-size: 22px; margin: 30px 0 12px; }

@media (max-width: 734px) { .page-content-wrapper { grid-template-columns: 1fr; } }

/* ============================================
   CONTACT FORM (CF7 / WPForms)
   ============================================ */
.wpcf7-form, .wpforms-form { max-width: 500px; }
.wpcf7-form label, .wpforms-field-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--color-text); }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpforms-field input, .wpforms-field textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font-sans); margin-bottom: 16px; background: var(--color-bg); transition: border-color var(--transition); }
.wpcf7-form input:focus, .wpcf7-form textarea:focus,
.wpforms-field input:focus, .wpforms-field textarea:focus { outline: none; border-color: var(--color-link); box-shadow: 0 0 0 3px rgba(0,113,227,0.1); }
.wpcf7-form .wpcf7-submit,
.wpforms-submit-container button { padding: 12px 32px; background: var(--color-link); color: var(--color-white); border: none; border-radius: 980px; font-size: 15px; font-weight: 500; cursor: pointer; transition: background var(--transition); }
.wpcf7-form .wpcf7-submit:hover,
.wpforms-submit-container button:hover { background: var(--color-link-hover); }

/* ============================================
   NO RESULTS
   ============================================ */
.no-results { text-align: center; padding: 60px 0; font-size: 17px; color: var(--color-text-secondary); }

/* ===== Product Card HOT Badge ===== */
.product-card {
    position: relative;
}
.product-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: linear-gradient(135deg, #FF6B35, #FF3B00);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 980px;
    box-shadow: 0 2px 8px rgba(255,59,0,0.3);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.product-card-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 4px;
}
.product-cat-link {
    font-size: 12px;
    color: #86868b;
    text-decoration: none;
    transition: color 0.2s;
}
.product-cat-link:hover {
    color: #0071E3;
}
/* Product archive highlight */
.btn-sm {
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-sm:hover {
    background: rgba(255,255,255,0.25) !important;
}

/* ===== Chip Platform Cards (image version) ===== */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}
.platform-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: block;
}
.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.platform-card-image img {
    transition: transform 0.5s ease;
}
.platform-card:hover .platform-card-image img {
    transform: scale(1.05);
}
.platform-card-body {
    padding: 16px 20px;
    background: #fff;
}

/* Filter button abbreviations */
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.filter-abbr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #f0f0f0;
    font-size: 10px;
    font-weight: 700;
    color: #555;
}
.filter-btn.active .filter-abbr {
    background: #0071E3;
    color: #fff;
}

/* ===== Business Card Hover ===== */
.business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important;
}
.business-card {
    cursor: default;
}

/* ===== Solution Card Hover ===== */
a.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1) !important;
}
a.solution-card {
    display: flex !important;
}
