:root {
  --primary: #0f2a43;
  --primary-2: #173b5c;
  --accent: #f59e0b;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f7f9fc;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 42, 67, .10);
  --radius: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary-2); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.narrow { width: min(100% - 40px, 860px); }
.skip-link, .screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 20px; top: 20px; background: #fff; padding: 10px; z-index: 999; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo-text { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: -.03em; }
.custom-logo { max-height: 52px; width: auto; }
.primary-navigation .menu { list-style: none; display: flex; gap: 26px; align-items: center; margin: 0; padding: 0; }
.primary-navigation a { font-weight: 600; color: #243447; font-size: 15px; }
.primary-navigation a:hover { color: var(--accent); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; }
.hero-section { background: linear-gradient(135deg, #eef5fb 0%, #ffffff 55%, #fff7e8 100%); padding: 92px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .11em; font-size: 12px; margin-bottom: 12px; }
h1, h2, h3, h4 { color: var(--primary); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.035em; }
h1 { font-size: clamp(38px, 5vw, 64px); }
h2 { font-size: clamp(30px, 3vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 18px; color: var(--muted); }
.hero-copy p { font-size: 19px; max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-actions.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; font-size: 15px; transition: .2s ease; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-2); color: var(--white); transform: translateY(-1px); }
.btn-secondary, .btn-outline { background: var(--white); color: var(--primary); border-color: var(--border); }
.btn-secondary:hover, .btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-amazon { background: var(--accent); color: #211600; }
.btn-amazon:hover { filter: brightness(.96); color: #211600; }
.full { width: 100%; }
.product-composition { min-height: 420px; background: #fff; border-radius: 32px; box-shadow: var(--shadow); position: relative; border: 1px solid var(--border); overflow: hidden; }
.product-composition::before { content: ''; position: absolute; inset: 34px; background: radial-gradient(circle at 30% 25%, rgba(245,158,11,.20), transparent 32%), linear-gradient(135deg, #f8fafc, #fff); border-radius: 26px; }
.device-card { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 12px 28px rgba(15,42,67,.12); font-weight: 800; color: var(--primary); padding: 28px; }
.device-card.remote { width: 230px; height: 150px; top: 70px; left: 62px; }
.device-card.switch { width: 180px; height: 132px; right: 64px; top: 128px; }
.device-card.light { width: 220px; height: 118px; left: 150px; bottom: 62px; }
.section { padding: 74px 0; }
.section-muted { background: var(--bg); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.section-heading.with-link { display: flex; align-items: end; justify-content: space-between; gap: 20px; text-align: left; max-width: none; }
.text-link { color: var(--primary); font-weight: 800; border-bottom: 2px solid var(--accent); }
.category-grid, .card-grid, .benefit-grid, .application-grid { display: grid; gap: 24px; }
.category-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.benefit-grid, .application-grid { grid-template-columns: repeat(4, 1fr); }
.feature-card, .product-card, .post-card, .benefit-grid > div, .application-grid > div, .sidebar-card, .contact-note { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: 0 8px 24px rgba(15,42,67,.06); }
.feature-card:hover, .product-card:hover, .post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { width: 46px; height: 46px; margin-bottom: 18px; }
.product-card, .post-card { padding: 0; overflow: hidden; transition: .2s ease; }
.card-image { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: #edf2f7; }
.placeholder-image { background: linear-gradient(135deg, #e9eef5, #fff3d7); min-height: 230px; }
.card-body { padding: 24px; }
.model-label { display: inline-block; color: var(--primary); background: #edf5ff; border: 1px solid #d7e8f9; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 800; margin-bottom: 12px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.faq-list { display: grid; gap: 14px; }
.faq-item, .faq-list details { border: 1px solid var(--border); border-radius: 16px; background: #fff; padding: 18px 20px; }
.faq-item summary, .faq-list summary { cursor: pointer; font-weight: 800; color: var(--primary); }
.cta-section { padding-top: 30px; }
.cta-box { background: linear-gradient(135deg, var(--primary), #1b4a72); color: #fff; text-align: center; border-radius: 28px; padding: 54px 34px; }
.cta-box h2, .cta-box p { color: #fff; }
.site-footer { background: #0b1d30; color: #dbe7f2; padding-top: 54px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer p, .site-footer a { color: #cbd5e1; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 18px 0; }
.footer-bottom p { margin: 0; font-size: 14px; }
.page-main { background: #fff; }
.archive-hero { background: linear-gradient(135deg, #eef5fb, #fff); padding: 64px 0; }
.archive-hero p { max-width: 720px; font-size: 18px; }
.content-wrap { padding: 62px 0; }
.entry-content h1 { margin-bottom: 22px; }
.entry-content h2 { margin-top: 36px; font-size: 30px; }
.entry-content a { color: var(--primary); text-decoration: underline; }
.single-hero-image { border-radius: 22px; margin: 22px 0 32px; }
.product-hero { background: linear-gradient(135deg, #f5f9fd, #fff); padding: 70px 0; }
.product-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.product-main-image { width: 100%; border-radius: 26px; box-shadow: var(--shadow); background: #fff; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.feature-list { padding-left: 20px; }
.feature-list li { margin: 9px 0; font-weight: 600; }
.two-column-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.sidebar-card { position: sticky; top: 100px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0 26px; border: 1px solid var(--border); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.spec-table th { width: 34%; background: var(--bg); color: var(--primary); }
.term-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.term-pills a { background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px; font-weight: 700; }
.pagination-wrap { margin-top: 36px; text-align: center; }
.post-date { color: var(--muted); font-size: 13px; font-weight: 700; }
.center-text { text-align: center; }
@media (max-width: 960px) {
  .hero-grid, .product-hero-grid, .two-column-layout { grid-template-columns: 1fr; }
  .category-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid, .application-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .primary-navigation { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--border); padding: 18px 20px; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation .menu { flex-direction: column; align-items: flex-start; }
  .menu-toggle { display: block; }
}
@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 28px, var(--container)); }
  .hero-section { padding: 58px 0; }
  .section { padding: 52px 0; }
  .category-grid, .card-grid, .benefit-grid, .application-grid { grid-template-columns: 1fr; }
  .section-heading.with-link { display: block; }
  .product-composition { min-height: 300px; }
  .device-card { position: relative; inset: auto !important; width: auto !important; height: auto !important; margin: 16px; }
}

/* Motion enhancement v1.1 -------------------------------------------------- */
html { scroll-behavior: smooth; }
.site-header { transition: min-height .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.97); border-bottom-color: rgba(15,42,67,.10); box-shadow: 0 10px 30px rgba(15,42,67,.08); }
.site-header.is-scrolled .header-inner { min-height: 66px; }
.header-inner { transition: min-height .25s ease; }
.custom-logo, .site-logo-text { transition: transform .25s ease, max-height .25s ease; }
.site-header.is-scrolled .custom-logo { max-height: 44px; }
.site-header.is-scrolled .site-logo-text { transform: scale(.96); transform-origin: left center; }
.primary-navigation a { position: relative; transition: color .2s ease; }
.primary-navigation a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.primary-navigation a:hover::after, .primary-navigation .current-menu-item > a::after, .primary-navigation .current_page_item > a::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle span:not(.screen-reader-text) { transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hero-section { position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; width: 440px; height: 440px; right: -150px; top: -160px; border-radius: 999px; background: radial-gradient(circle, rgba(245,158,11,.20), transparent 64%); animation: hfc-soft-pulse 8s ease-in-out infinite; pointer-events: none; }
.hero-section::after { content: ''; position: absolute; width: 520px; height: 520px; left: -240px; bottom: -260px; border-radius: 999px; background: radial-gradient(circle, rgba(15,42,67,.09), transparent 65%); animation: hfc-soft-pulse 10s ease-in-out infinite reverse; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; }
.product-composition { --spotlight-x: 35%; --spotlight-y: 28%; transition: transform .35s ease, box-shadow .35s ease; }
.product-composition:hover { transform: translateY(-4px); box-shadow: 0 24px 58px rgba(15,42,67,.14); }
.product-composition::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(245,158,11,.18), transparent 36%); opacity: .9; pointer-events: none; transition: opacity .25s ease; }
.device-card { z-index: 2; transition: transform .35s ease, box-shadow .35s ease; }
.product-composition:hover .device-card.remote { transform: translateY(-8px) rotate(-1deg); }
.product-composition:hover .device-card.switch { transform: translateY(-4px) rotate(1deg); }
.product-composition:hover .device-card.light { transform: translateY(-6px); }
.device-card.remote { animation: hfc-float 5.8s ease-in-out infinite; }
.device-card.switch { animation: hfc-float 6.4s ease-in-out infinite .35s; }
.device-card.light { animation: hfc-float 7s ease-in-out infinite .65s; }
.btn { position: relative; overflow: hidden; transform: translateZ(0); transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease; }
.btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,.22), transparent); transform: translateX(-120%); transition: transform .55s ease; pointer-events: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(15,42,67,.13); }
.btn:hover::before { transform: translateX(120%); }
.text-link { transition: color .2s ease, border-color .2s ease; }
.text-link:hover { color: var(--accent); border-color: var(--primary); }
.feature-card, .product-card, .post-card, .benefit-grid > div, .application-grid > div, .sidebar-card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.feature-card:hover, .product-card:hover, .post-card:hover, .benefit-grid > div:hover, .application-grid > div:hover { transform: translateY(-7px); box-shadow: 0 20px 46px rgba(15,42,67,.12); border-color: rgba(15,42,67,.14); }
.feature-icon { transition: transform .28s ease; }
.feature-card:hover .feature-icon { transform: translateY(-3px) scale(1.06); }
.card-image, .placeholder-image { transition: transform .45s ease, filter .45s ease; }
.product-card:hover .card-image, .post-card:hover .card-image, .product-card:hover .placeholder-image, .post-card:hover .placeholder-image { transform: scale(1.035); filter: saturate(1.04); }
.product-card .card-image, .post-card .card-image, .product-card .placeholder-image, .post-card .placeholder-image { transform-origin: center; }
.product-card, .post-card { isolation: isolate; }
.faq-list details { overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
.faq-list details:hover, .faq-list details.is-open { border-color: rgba(15,42,67,.16); box-shadow: 0 12px 30px rgba(15,42,67,.08); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: var(--bg); color: var(--primary); font-weight: 800; transition: transform .25s ease, background .25s ease; flex: 0 0 auto; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: #fff3d7; }
.faq-list details p { margin-top: 14px; }
.cta-box { position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: -120px auto auto -120px; width: 280px; height: 280px; border-radius: 999px; background: rgba(245,158,11,.18); filter: blur(2px); animation: hfc-soft-pulse 7s ease-in-out infinite; }
.cta-box > * { position: relative; z-index: 1; }
.reveal-item { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hfc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes hfc-soft-pulse { 0%, 100% { transform: scale(1); opacity: .75; } 50% { transform: scale(1.08); opacity: 1; } }

@media (max-width: 960px) {
  .primary-navigation { display: block; opacity: 0; transform: translateY(-12px); pointer-events: none; visibility: hidden; transition: opacity .24s ease, transform .24s ease, visibility .24s ease; box-shadow: 0 18px 35px rgba(15,42,67,.10); }
  .primary-navigation.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal-item { opacity: 1 !important; transform: none !important; }
}
