/* ===================== B2B Toys Theme Styles ===================== */

:root {
  --primary: #06c;
  --primary-dark: #004c99;
  --primary-light: #4a9eff;
  --primary-subtle: rgba(37, 99, 235, 0.08);
  --primary-glow: rgba(37, 99, 235, 0.2);
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #0f172a;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-hover: #ffffff;
  --border: #d2d2d7;
  --border-light: #e8e8ed;
  --text: #1d1d1f;
  --text-secondary: #86868b;
  --text-muted: #6e6e73;
  --text-light: #f8fafc;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

/* ===================== Reset & Base ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

/* ===================== Utility Classes ===================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding { padding: 48px 0; }
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1d1d1f;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.003em;
}

.section-subtitle {
  font-size: 17px;
  color: #86868b;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 15px; margin-bottom: 32px; }
}

/* ===================== Header ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  height: 80px;
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1457px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 30;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.site-logo:hover { color: var(--text); }

.site-logo img {
  height: 40px;
  width: auto;
}

/* -- Navigation -- */
/* PC 端：菜单作为 <header> 的兄弟节点（见 header.php 注释），用 fixed 钉在 header
   高度区域内并水平居中，避免被随后的 <main> 内容挤出视口或被 header 遮挡。 */
.main-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 80px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 110;
  pointer-events: none; /* 容器本身不拦截，仅链接可点 */
}

.main-nav > ul,
.main-nav > a {
  pointer-events: auto; /* 链接可点击 */
}

/* PC 端隐藏移动端关闭按钮（仅在移动端全屏覆盖时显示） */
.mobile-menu-close {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a,
.main-nav .nav-item {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav .nav-item:hover {
  color: var(--text);
  background: rgba(241, 245, 249, 0.5);
}

/* -- Dropdown -- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.2s;
  padding: 8px 0;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 400;
  color: #4b5563;
  border-radius: 0;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
}

.nav-dropdown-menu a:hover {
  color: #111827;
  background: #f3f4f6;
}

/* -- Header Actions -- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
  min-width: 0;
}

/* Icon button (search + lang toggle) */
.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  width: auto;
  height: 40px;
  min-width: 40px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: #111827;
  transition: background-color 0.2s, color 0.2s;
}

.header-search-btn {
  width: 40px;
}

.header-icon-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.header-icon-btn:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

/* -- Language Switcher (globe + text + dropdown) -- */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-switcher-toggle .lang-globe-icon {
  flex-shrink: 0;
}

.lang-current-text {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 256px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  ring: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 50;
  overflow: hidden;
}

.lang-dropdown-inner {
  padding: 8px 0;
}

.lang-dropdown-header {
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #f3f4f6;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 16px;
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.lang-option:hover {
  background: #f9fafb;
  color: #111827;
}

.lang-option.is-active {
  background: #f9fafb;
  color: #111827;
  font-weight: 500;
}

.lang-active-check {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: #9ca3af;
}

[x-cloak] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -- Hamburger -- */
button.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* -- Mobile menu overlay (legacy, unused — kept for backward compat) */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1023px) {
  .site-header,
  .header-inner { height: 80px; }

  /* Main nav: full-screen overlay (now a sibling of <header>, not a child,
     so its position:fixed is not clipped by the header's stacking context). */
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 100px 28px 40px;
    overflow-y: auto;
    pointer-events: auto; /* 覆盖 PC 端的 none，恢复全屏菜单可点击 */
  }

  .main-nav.mobile-open {
    display: flex;
    transform: translateY(0);
  }

  /* Close button inside the menu (overlay covers the header, so the hamburger
     is hidden — this button provides a way to dismiss the overlay). */
  .mobile-menu-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1d1d1f;
    z-index: 10000;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .mobile-menu-close:hover {
    background: #f3f4f6;
  }

  button.hamburger { display: flex; }

  .lang-current-text { display: none; }
  .lang-switcher-toggle { padding: 8px; width: 40px; min-width: 40px; }

  .site-logo {
    font-size: 16px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  /* Top-level links: large bold, full-width clickable, divider underneath */
  .main-nav > ul > li > a,
  .main-nav > ul > li > .nav-dropdown > a.nav-item,
  .main-nav > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 20px;
    font-weight: 700;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: 1px solid #f3f4f6;
    color: #1d1d1f;
  }

  .main-nav > ul > li > a:hover,
  .main-nav > ul > li > .nav-dropdown > a.nav-item:hover,
  .main-nav > a:hover {
    background: transparent;
    color: #06c;
  }

  /* Sub-menu toggle button (injected by JS) sits at the row's right edge */
  .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1d1d1f;
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .nav-dropdown-toggle svg {
    width: 18px;
    height: 18px;
  }

  .nav-dropdown-toggle.is-open {
    transform: rotate(180deg);
  }

  /* Sub-menu: hidden by default, expands on toggle */
  .main-nav .nav-dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid #e5e7eb;
    margin: 0 0 8px 16px;
    padding: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, margin 0.3s ease;
    display: block;
  }

  .main-nav .nav-dropdown.is-expanded > .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 600px;
    margin: 4px 0 12px 16px;
  }

  .main-nav .nav-dropdown-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 400;
    color: #4b5563;
    border-bottom: none;
    border-radius: 0;
    text-transform: none;
    letter-spacing: normal;
  }

  .main-nav .nav-dropdown-menu a:hover {
    color: #06c;
    background: transparent;
  }

  /* Hamburger → X animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  button.hamburger {
    gap: 5px;
    width: 28px;
    height: 28px;
    padding: 4px;
    position: relative;
    z-index: 100;
  }
}

/* ===================== Hero Slider ===================== */
/* ===================== Hero Slider ===================== */
.hero-section {
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-slide {
    height: 760px;
  }
}

.hero-bg-color {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hero-content {
  max-width: 640px;
  padding: 60px 24px;
}

.hero-brand-logo {
  margin-bottom: 26px;
}

.hero-brand-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero-content-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.hero-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
}

.hero-desc {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
  max-width: 60%;
}

/* Animated badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px 0 rgba(88, 33, 120, 0.10);
  animation: hero-border-pulse 2.5s ease-in-out infinite;
}

.hero-badge-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 100px;
  overflow: hidden;
}

.hero-badge-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  height: 100%;
  width: 70%;
  border-radius: 100px;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.4) 52%, rgba(255, 255, 255, 0.08) 68%
  );
  filter: blur(4px);
  opacity: 0.8;
  animation: glass-sweep 2.4s linear infinite;
}

.hero-badge-star {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #fdcc12;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z' fill='currentColor'/%3E%3C/svg%3E") no-repeat center/contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z' fill='currentColor'/%3E%3C/svg%3E") no-repeat center/contain;
  animation: star-zoom 1.1s infinite cubic-bezier(.44, 1.8, .66, 1.1);
  flex-shrink: 0;
}

.hero-badge-text {
  position: relative;
}

/* CTA button */
.hero-cta-wrap {
  transition: all 0.2s;
}

.hero-cta-wrap:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  background: #ffffff;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.hero-cta:hover {
  background: #f6f7fb;
  color: #000000;
}

/* Swiper overrides */
.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.hero-section .swiper-button-next:after,
.hero-section .swiper-button-prev:after {
  font-size: 18px;
}

.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hero-section .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.hero-section .swiper-pagination-bullet-active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* Keyframes */
@keyframes glass-sweep {
  0% { left: -60%; }
  100% { left: 110%; }
}

@keyframes star-zoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

@keyframes hero-border-pulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.4); }
  50% { border-color: rgba(255, 255, 255, 0.19); }
}

/* Mobile: center content, smaller title */
@media (max-width: 1023px) {
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-brand-logo img {
    margin: 0 auto;
  }

  .hero-content-inner {
    align-items: center;
  }

  .hero-title-group {
    align-items: center;
  }

  .hero-content h1 {
    font-size: clamp(28px, 6vw, 44px);
    text-align: center;
  }

  .hero-desc {
    max-width: 100%;
    text-align: center;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    height: 70vh;
    min-height: 480px;
  }

  .hero-content {
    max-width: 100%;
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-cta {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ===================== Awards Section ===================== */
.awards-section {
  background: #ffffff;
  padding: 36px 0 36px;
  overflow: hidden;
  border-bottom: 1px solid #e8e8ed;
}

.awards-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 28px;
}

.awards-title {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .awards-header {
    justify-content: flex-start;
    padding: 36px 0 32px;
  }

  .awards-title {
    font-size: 36px;
  }
}

/* Carousel mask — fade edges */
.awards-carousel-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    white 8%,
    white 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    white 8%,
    white 92%,
    transparent 100%
  );
}

@media (max-width: 480px) {
  .awards-carousel-mask {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      white 3%,
      white 97%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      white 3%,
      white 97%,
      transparent 100%
    );
  }
}

.awards-carousel-container {
  padding: 0;
}

.awards-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: max-content;
  animation: scroll-awards 40s linear infinite;
}

.awards-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-awards {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual award item */
.award-item {
  flex-shrink: 0;
  width: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 40px;
  position: relative;
}

@media (min-width: 481px) {
  .award-item {
    width: 100px;
  }
}

@media (min-width: 768px) {
  .award-item {
    width: 120px;
  }
}

/* Image wrapper */
.award-image-wrapper {
  width: 85px;
  height: 85px;
  flex-shrink: 0;
}

@media (min-width: 481px) {
  .award-image-wrapper {
    width: 100px;
    height: 100px;
  }
}

@media (min-width: 768px) {
  .award-image-wrapper {
    width: 120px;
    height: 120px;
  }
}

.award-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
  transition: all 0.3s ease;
}

@media (min-width: 481px) {
  .award-image {
    padding: 12px;
  }
}

.award-item:hover .award-image {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Award name below image */
.award-name {
  color: #374151;
  font-size: 9px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 85px;
  margin-top: 8px;
  flex-shrink: 0;
  padding: 0 4px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

@media (min-width: 481px) {
  .award-name {
    font-size: 9px;
    max-width: 100px;
    margin-top: 10px;
    padding: 0 6px;
  }
}

@media (min-width: 768px) {
  .award-name {
    font-size: 10px;
    max-width: 120px;
    margin-top: 12px;
    padding: 0 8px;
  }
}

.award-item:hover .award-name {
  transform: scale(1.05);
}

/* ===================== Product Carousel ===================== */
.brand-section {
  padding: 80px 0;
}

.brand-section:nth-child(even) {
  background: #ffffff;
}

.brand-section:nth-child(odd) {
  background: var(--bg-alt);
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.brand-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.003em;
}

.brand-header .brand-link {
  font-size: 14px;
  font-weight: 500;
  color: #06c;
  text-decoration: none;
  transition: color 0.2s;
}

.brand-header .brand-link:hover {
  color: #004c99;
  text-decoration: underline;
}
/* Brand header with logo */
.brand-header-with-logo {
  gap: 24px;
}

.brand-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.brand-logo-box {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f1f1;
  transition: transform 0.2s, box-shadow 0.2s;
}

.brand-logo-box:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-logo-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.brand-header-text h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.003em;
  margin: 0;
}

.brand-header-text h2 a {
  color: #1d1d1f;
  text-decoration: none;
  transition: color 0.2s;
}

.brand-header-text h2 a:hover {
  color: rgba(29, 29, 31, 0.7);
}

.brand-tagline {
  font-size: 15px;
  font-weight: 400;
  color: rgba(29, 29, 31, 0.55);
  margin: 0;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .brand-header-left {
    gap: 16px;
  }

  .brand-logo-box {
    width: 64px;
    height: 64px;
  }

  .brand-header-text h2 {
    font-size: 28px;
  }

  .brand-tagline {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .brand-logo-box {
    width: 80px;
    height: 80px;
  }
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 0.3s;
  display: block;
  text-decoration: none;
}

.product-card:hover {
  border-color: #e5e7eb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.product-card .product-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f6f7fb;
  position: relative;
  border-radius: 12px;
}

.product-card .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
  padding: 8px;
}

.product-card:hover .product-thumb img {
  transform: scale(1.04);
}

/* NEW badge - top-left of thumb, red text */
.product-card .product-status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #dc2626;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* Legacy badge class (kept for backward compat) */
.product-card .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 600;
  color: white;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.product-card .product-info {
  padding: 16px 16px 48px;
  text-align: left;
}

.product-card .product-name {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  margin: 0 0 4px;
  line-height: 1.4;
  transition: color 0.2s;
}

.product-card:hover .product-name {
  color: #1f2937;
}

.product-card .product-sku {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

.product-card .product-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 8px;
}

/* Product swiper */
.product-swiper {
  overflow: hidden;
}

.product-swiper .swiper-slide {
  height: auto;
}

.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
  color: var(--text);
  background: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: all 0.2s;
}

.product-swiper .swiper-button-next:after,
.product-swiper .swiper-button-prev:after {
  font-size: 16px;
}

.product-swiper .swiper-button-next:hover,
.product-swiper .swiper-button-prev:hover {
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}

@media (max-width: 768px) {
  .brand-section { padding: 48px 0; }
  .brand-header h2 { font-size: 20px; }
}

@media (max-width: 640px) {
  .brand-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .brand-header .brand-link {
    align-self: flex-start;
  }
}

/* ===================== Story Section ===================== */
.story-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
  border-bottom: 1px solid #e8e8ed;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-content .story-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0, 102, 204, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-content h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.002em;
}

.story-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  text-align: center;
  padding: 28px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.stat-card .stat-value {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* CTA row below grid */
.story-cta-row {
  text-align: center;
  margin-top: 48px;
}

.story-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.story-cta:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.25);
  transform: translateY(-1px);
}

.story-cta svg {
  transition: transform 0.25s ease;
}

.story-cta:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .story-grid {
    gap: 40px;
  }
  .story-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .story-section {
    padding: 64px 0;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .story-content h2 {
    font-size: 24px;
  }
  .story-content p {
    font-size: 14px;
  }
  .stat-card .stat-value {
    font-size: 28px;
  }
  .story-stats {
    gap: 12px;
  }
  .story-cta-row {
    margin-top: 36px;
  }
}

@media (max-width: 480px) {
  .stat-card {
    padding: 18px 12px;
  }
  .stat-card .stat-value {
    font-size: 24px;
  }
  .stat-card .stat-label {
    font-size: 11px;
  }
  .story-stats {
    gap: 8px;
  }
  .story-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ===================== Contact / Locations Section ===================== */
.locations-section {
  background: #ffffff;
  padding: 80px 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.location-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: white;
}

.location-card .location-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}

.location-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.location-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: border-color 0.2s;
}

.contact-card:hover {
  border-color: var(--primary-subtle);
}

.contact-card .contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-card .contact-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 768px) {
  .locations-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===================== Footer ===================== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .site-logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  padding: 0;
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(59, 130, 246, 0.1);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===================== Product Archive (Apple-style) ===================== */
.product-archive-page {
  padding: 0 0 100px;
}

.product-archive-intro {
  background: #ffffff;
  padding: 120px 0 60px;
  margin-bottom: 48px;
  border-bottom: 1px solid #e8e8ed;
}

.product-archive-header {
  text-align: center;
}

.product-archive-title {
  font-size: 48px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 16px;
  letter-spacing: -0.003em;
}

.product-archive-header-line {
  width: 28px;
  height: 2px;
  background: #1d1d1f;
  border-radius: 1px;
  margin: 0 auto 20px;
  opacity: 0.3;
}

.product-archive-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: #86868b;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .product-archive-intro { padding: 108px 0 40px; margin-bottom: 36px; }
  .product-archive-title { font-size: 32px; }
  .product-archive-subtitle { font-size: 15px; }
}

/* ===== Filter sections ===== */
.product-filters-section {
  margin-bottom: 20px;
}

.product-filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.product-filter-label svg { opacity: 0.4; }

/* Filter pills - Apple toggle style */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-filter-tab {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #6e6e73;
  background: #ffffff;
  border: 1px solid #e8e8ed;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.product-filter-tab:hover {
  color: #1d1d1f;
  background: #eee;
}

.product-filter-tab.active {
  color: white;
  background: #1d1d1f;
  border-color: #1d1d1f;
}

/* Active filter indicator */
.product-filter-active {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 10px;
  font-size: 13px;
  color: #6e6e73;
}

.product-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #1d1d1f;
}

.product-filter-chip a {
  color: #86868b;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  margin-left: 2px;
}

.product-filter-chip a:hover { color: #ff3b30; }

.product-filter-clear {
  font-size: 12px;
  font-weight: 500;
  color: #06c;
  text-decoration: none;
  margin-left: auto;
}

.product-filter-clear:hover { text-decoration: underline; }

/* ===== Product Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 8px 0 0;
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ===== Product Card - Apple style ===== */
.product-card {
  display: block;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.product-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.product-card-image-link {
  display: block;
  overflow: hidden;
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ffffff;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #86868b;
  opacity: 0.3;
}

.product-card-body {
  padding: 16px 20px 24px;
}

.product-card-brand {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #6e6e73;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 6px;
  line-height: 1.4;
}

.product-card-sku {
  display: block;
  font-size: 12px;
  color: #86868b;
  margin-bottom: 10px;
}

.product-card-price {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
}

/* ===== Pagination - Pill/Tab style ===== */
.product-archive-pagination {
  padding: 48px 0;
  text-align: center;
}

.product-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-archive-pagination .page-numbers a,
.product-archive-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.product-archive-pagination .page-numbers a {
  color: #6e6e73;
  background: transparent;
}

.product-archive-pagination .page-numbers a:hover {
  background: rgba(0,0,0,0.05);
  color: #1d1d1f;
}

.product-archive-pagination .page-numbers .current {
  background: #1d1d1f;
  color: white;
}

.product-archive-pagination .page-numbers .dots {
  color: #86868b;
  min-width: auto;
}

.product-archive-pagination .page-numbers .prev,
.product-archive-pagination .page-numbers .next {
  font-weight: 500;
}

/* ===== Empty state ===== */
.product-archive-empty {
  text-align: center;
  padding: 80px 0;
}

.product-archive-empty svg {
  color: #86868b;
  margin-bottom: 16px;
  opacity: 0.3;
}

.product-archive-empty p {
  font-size: 15px;
  color: #86868b;
  margin: 0 0 20px;
}

.btn-reset-filter {
  display: inline-flex;
  padding: 10px 24px;
  background: #06c;
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-reset-filter:hover { background: #004c99; }
/* ===================== Single Product ===================== */
.product-detail {
  margin-top: 72px;
  padding: 48px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-detail .product-gallery {
  position: sticky;
  top: 96px;
}

.product-detail .product-gallery img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.product-detail .product-meta h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-detail .product-meta .product-sku {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.product-detail .product-meta .product-price-box {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.product-detail .product-meta .product-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 32px;
}

.product-detail .product-meta .product-inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.product-detail .product-meta .product-inquiry-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
}

@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-detail .product-gallery { position: static; }
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}



/* ===================== Blog Page (Apple-style) ===================== */
.blog-page {
  padding: 0 0 100px;
}

.blog-intro {
  background: #ffffff;
  padding: 120px 0 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid #e8e8ed;
}

.blog-header {
  text-align: center;
}

.blog-title {
  font-size: 48px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 16px;
  letter-spacing: -0.003em;
}

.blog-header-line {
  width: 28px;
  height: 2px;
  background: #1d1d1f;
  border-radius: 1px;
  margin: 0 auto 20px;
  opacity: 0.3;
}

.blog-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: #86868b;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .blog-intro { padding: 108px 0 40px; margin-bottom: 40px; }
  .blog-title { font-size: 32px; }
  .blog-subtitle { font-size: 15px; }
}

/* Category filter tabs - Apple style */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 44px;
  padding: 6px;
  background: #ffffff;
  border-radius: 12px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.blog-filter-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #6e6e73;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.blog-filter-tab:hover {
  color: #1d1d1f;
  background: rgba(0,0,0,0.04);
}

.blog-filter-tab.active {
  color: #1d1d1f;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Blog card - Apple style */
.blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.blog-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.blog-card-image-link {
  display: block;
  overflow: hidden;
}

.blog-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ffffff;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.03);
}

.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #86868b;
  opacity: 0.3;
}

.blog-card-body {
  padding: 18px 20px 24px;
}

.blog-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #6e6e73;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.blog-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px;
}

.blog-card-title a {
  color: #1d1d1f;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title a:hover {
  color: #06c;
}

.blog-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #86868b;
}

.blog-card-date svg {
  opacity: 0.4;
}

/* Pagination — Pill/Tab style */
.blog-pagination {
  margin-top: 60px;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.blog-pagination .page-numbers a {
  color: #6e6e73;
  background: transparent;
}

.blog-pagination .page-numbers a:hover {
  background: rgba(0,0,0,0.05);
  color: #1d1d1f;
}

.blog-pagination .page-numbers .current {
  background: #1d1d1f;
  color: white;
}

.blog-pagination .page-numbers .dots {
  color: #86868b;
  min-width: auto;
}

.blog-pagination .page-numbers .prev,
.blog-pagination .page-numbers .next {
  font-weight: 500;
}

@media (max-width: 640px) {
  .blog-pagination .page-numbers a,
  .blog-pagination .page-numbers span {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }
}

.blog-empty {
  text-align: center;
  padding: 80px 0;
  color: #86868b;
  font-size: 15px;
}
/* ===================== Contact Page (Apple-style) ===================== */
.contact-page {
  padding: 0 0 100px;
}

.contact-intro {
  background: #ffffff;
  padding: 120px 0 60px;
  margin-bottom: 64px;
  border-bottom: 1px solid #e8e8ed;
}

.contact-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.contact-title {
  font-size: 48px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 16px;
  letter-spacing: -0.003em;
}

.contact-header-line {
  width: 28px;
  height: 2px;
  background: #1d1d1f;
  border-radius: 1px;
  margin: 0 auto 20px;
  opacity: 0.3;
}

.contact-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: #86868b;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-intro { padding: 108px 0 40px; margin-bottom: 40px; }
  .contact-title { font-size: 32px; }
  .contact-subtitle { font-size: 15px; }
}

/* Form layout */
.contact-form-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  align-items: start;
}

@media (max-width: 960px) {
  .contact-form-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== B2B Contact Form - Apple style ===== */
.b2b-contact-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 44px;
}

.b2b-contact-form-title {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8ed;
}

@media (max-width: 640px) {
  .b2b-contact-form { padding: 24px; }
  .b2b-contact-form-title { font-size: 18px; }
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

/* Floating label - Apple style */
.floating-label-group {
  position: relative;
  margin-bottom: 16px;
}

.floating-label-group input,
.floating-label-group textarea,
.floating-label-group select {
  width: 100%;
  padding: 20px 14px 8px;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1d1d1f;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  line-height: 1.5;
}

.floating-label-group input:focus,
.floating-label-group textarea:focus,
.floating-label-group select:focus {
  border-color: #06c;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.08);
}

.floating-label-group textarea {
  resize: vertical;
  min-height: 100px;
}

.floating-label-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.floating-label-group label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #86868b;
  pointer-events: none;
  transition: all 0.2s ease;
  background: white;
  padding: 0 4px;
  line-height: 1;
}

.floating-label-group textarea ~ label {
  top: 20px;
  transform: none;
}

.floating-label-group input:focus ~ label,
.floating-label-group input:not(:placeholder-shown) ~ label {
  top: 0;
  transform: translateY(-50%);
  font-size: 11px;
  color: #06c;
  font-weight: 500;
}

.floating-label-group textarea:focus ~ label,
.floating-label-group textarea:not(:placeholder-shown) ~ label {
  top: 0;
  font-size: 11px;
  color: #06c;
  font-weight: 500;
}

.floating-label-group select:focus ~ label,
.floating-label-group select:required:valid ~ label {
  top: 0;
  transform: translateY(-50%);
  font-size: 11px;
  color: #06c;
  font-weight: 500;
}

.floating-label-group .required {
  color: #ff3b30;
}

/* Radio pill group */
.form-field-group {
  margin-bottom: 16px;
}

.form-field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #6e6e73;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-pill {
  display: inline-flex;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-pill span {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #6e6e73;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.radio-pill input:checked + span {
  border-color: #06c;
  background: #f5f8ff;
  color: #06c;
}

.radio-pill span:hover {
  border-color: #06c;
  color: #06c;
}

/* Submit button */
.contact-form-actions {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e8e8ed;
}

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: #06c;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-contact-submit:hover {
  background: #004c99;
}

.btn-contact-submit:active {
  transform: scale(0.97);
}

.btn-contact-submit svg {
  transition: transform 0.2s;
}

.btn-contact-submit:hover svg {
  transform: translateX(3px);
}

/* ===== Contact info sidebar - Apple style ===== */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 4px;
}

.contact-info-card-desc {
  font-size: 13px;
  color: #86868b;
  line-height: 1.5;
  margin: 0 0 16px;
}

.contact-card-small {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e8e8ed;
  border-radius: 12px;
  transition: background 0.2s;
}

.contact-card-small:hover {
  background: #fafafa;
}

.contact-card-small svg {
  flex-shrink: 1;
  min-width: 0;
  width: 18px;
  height: 18px;
  color: #86868b;
}

.contact-card-small div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-card-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #86868b;
}

.contact-card-value {
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
  word-break: break-word;
}

@media (max-width: 960px) {
  .contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .contact-info-cards { grid-template-columns: 1fr; }
}

/* Form feedback messages */
.form-feedback {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  margin: -16px 0 24px;
}

.form-feedback svg { flex-shrink: 0; }

.form-feedback.form-success {
  background: #f2f8f2;
  color: #1d6b2c;
  border: 1px solid #d4edda;
}

.form-feedback.form-error {
  background: #fdf2f2;
  color: #ae2012;
  border: 1px solid #f5c6cb;
}

/* ===================== About Page ===================== */

/* -- Scroll Reveal -- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Section 1: Who We Are ===== */
.about-who-we-are {
  padding: 152px 0 80px;
  background: #ffffff;
}
.about-who-we-are .container {
  max-width: none;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .about-who-we-are .container { padding: 0 24px; }
}
@media (min-width: 1024px) {
  .about-who-we-are .container { padding: 0 32px; }
}
@media (min-width: 1280px) {
  .about-who-we-are .container { padding: 0 48px; }
}

.about-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.about-label-line {
  width: 48px;
  height: 1px;
  background: #d1d5db;
  flex-shrink: 1;
  min-width: 0;
}
.about-section-label span {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-section-heading {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .about-section-heading { font-size: 48px; }
}
@media (min-width: 1280px) {
  .about-section-heading { font-size: 60px; }
}

.about-section-text {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.75;
}
.about-section-text p + p { margin-top: 16px; }

.about-who-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-who-img-offset { padding-top: 32px; }
.about-who-img-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  aspect-ratio: 4/5;
  transition: transform 0.5s ease;
}
.about-who-img-wrapper:hover { transform: scale(1.05); }
.about-who-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Section Header (shared) ===== */
.about-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.about-section-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.2;
}
.about-section-header p {
  font-size: 20px;
  color: #4b5563;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== Section 2: Timeline ===== */
.about-timeline {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
}
.about-timeline-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Horizontal Track */
.about-timeline-track-h {
  position: relative;
  padding-top: 20px;
  margin-bottom: 48px;
}

/* Milestone Items Row */
.about-timeline-items {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.about-timeline-item-h {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 200px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* Trigger button */
.about-timeline-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transition: transform 0.3s ease;
}
.about-timeline-trigger:hover {
  transform: translateY(-4px);
}
.about-timeline-item-h.active .about-timeline-trigger {
  transform: translateY(-4px);
}

/* Logo Box */
.about-timeline-logo-box {
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.about-timeline-item-h.active .about-timeline-logo-box {
  border-color: #dc2626;
  box-shadow: 0 8px 24px rgba(220,38,38,0.15);
  transform: scale(1.08);
}
.about-timeline-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.about-timeline-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #dc2626;
}

/* Red Dot */
.about-timeline-dot-h {
  width: 12px;
  height: 12px;
  background: #d1d5db;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 12px;
}
.about-timeline-item-h.active .about-timeline-dot-h {
  background: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.2);
  transform: scale(1.3);
}

/* Year */
.about-timeline-year-h {
  font-size: 14px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.about-timeline-item-h.active .about-timeline-year-h {
  color: #dc2626;
}

/* Name */
.about-timeline-name-h {
  font-size: 15px;
  font-weight: 700;
  color: #374151;
  transition: color 0.3s ease;
}
.about-timeline-item-h.active .about-timeline-name-h {
  color: #111827;
}

/* Red Gradient Line */
.about-timeline-line-h {
  position: absolute;
  top: 60px;
  left: 100px;
  right: 100px;
  height: 2px;
  background: linear-gradient(to right, #dc2626, #f87171, #dc2626);
  z-index: 1;
}

/* Content Area */
.about-timeline-content-area {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  text-align: center;
  position: relative;
  min-height: 220px;
}

/* Content Panel */
.about-timeline-content-panel {
  display: none;
}
.about-timeline-content-panel.active {
  display: block;
  animation: timelineFadeIn 0.4s ease;
}
@keyframes timelineFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Giant Year */
.about-timeline-year-giant {
  font-size: 96px;
  font-weight: 800;
  background: linear-gradient(135deg, #dc2626, #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

/* Content Title */
.about-timeline-content-title {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}
.about-timeline-content-title span {
  position: relative;
  display: inline-block;
}
.about-timeline-content-title span::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: #dc2626;
  border-radius: 2px;
}

/* Description */
.about-timeline-content-desc {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* Controls */
.about-timeline-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

/* Dot Indicators */
.about-timeline-indicators {
  display: flex;
  gap: 8px;
}
.about-timeline-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.about-timeline-indicator.active {
  background: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.25);
  transform: scale(1.2);
}
.about-timeline-indicator:hover {
  background: #f87171;
}

/* Play/Pause */
.about-timeline-playpause {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.2s ease;
  padding: 0;
}
.about-timeline-playpause:hover {
  border-color: #dc2626;
  color: #dc2626;
}

/* ===== Section 3: Info Cards ===== */
.about-info-cards {
  padding: 112px 0;
  background: #f8fafc;
}
.about-cards-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.about-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #f3f4f6;
  padding: 40px;
  max-width: 560px;
  flex: 1 1 400px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
}
.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.about-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}
.about-card:hover .about-card-icon {
  transform: scale(1.1);
}
.about-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}
.about-card-text {
  font-size: 17px;
  color: #4b5563;
  line-height: 1.75;
}
.about-card-text p + p { margin-top: 8px; }

/* ===== Section 4: Global Presence ===== */
.about-global {
  padding: 64px 0 80px;
  background: #ffffff;
}
.about-global-grid {
  max-width: 800px;
  margin: 0 auto;
}

/* Carousel Column */
.about-global-carousel {
  min-height: 260px;
}
.about-carousel-viewport {
  overflow: hidden;
}
.about-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.about-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  padding-right: 16px;
}
.about-carousel-title {
  font-size: 28px;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 4px;
  line-height: 1.3;
}
.about-carousel-subtitle {
  font-size: 22px;
  font-weight: 400;
  color: #1f2937;
  margin-bottom: 16px;
  line-height: 1.4;
}
.about-carousel-desc {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
}

/* Carousel Controls */
.about-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}
.about-carousel-dots {
  display: flex;
  gap: 8px;
}
.about-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.about-carousel-dot.active {
  background: #dc2626;
}
.about-carousel-dot:hover {
  background: #f87171;
}
.about-carousel-pp {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dc2626;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.2s;
  padding: 0;
  flex-shrink: 1;
  min-width: 0;
}
.about-carousel-pp:hover {
  background: #b91c1c;
}

/* ===== Section 5: Global Teams ===== */
.about-teams {
  padding: 80px 0;
  background: #f9fafb;
}
.about-teams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}
.about-team-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #f3f4f6;
  padding: 36px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.about-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.about-team-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.about-team-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.about-team-role {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.about-team-desc {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
}

.about-global-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid #e5e7eb;
}
.about-global-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-global-stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #dc2626;
}
.about-global-stat-label {
  font-size: 13px;
  color: #6b7280;
}

/* ===== Section 6: Materials ===== */
.about-materials {
  padding: 96px 0;
  background: #ffffff;
}
.about-materials-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-materials-heading {
  font-size: 48px;
  font-weight: 700;
  color: #111827;
  line-height: 1.15;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.about-materials-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-material-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-material-img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  border-radius: 8px;
}
.about-material-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.about-material-text p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.65;
}

/* FAQ */
.about-materials-faq h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 24px;
}
.about-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-faq-item {
  border-bottom: 1px solid #f3f4f6;
}
.about-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
}
.about-faq-question::-webkit-details-marker { display: none; }
.about-faq-question span {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  transition: color 0.2s;
}
.about-faq-question:hover span { color: #dc2626; }
.about-faq-chevron {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  flex-shrink: 1;
  min-width: 0;
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.about-faq-item[open] .about-faq-chevron { transform: rotate(180deg); }
.about-faq-answer {
  padding: 0 0 16px;
}
.about-faq-answer p {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.65;
}

/* ===== Section 7: Certifications ===== */
.about-certifications {
  padding: 80px 0;
  background: #ffffff;
}
.about-certifications .container {
  max-width: none;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .about-certifications .container { padding: 0 24px; }
}
@media (min-width: 1024px) {
  .about-certifications .container { padding: 0 32px; }
}
@media (min-width: 1280px) {
  .about-certifications .container { padding: 0 48px; }
}

.about-certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.about-cert-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #f3f4f6;
  padding: 32px;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  transition: all 0.5s ease;
}
.about-cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.about-cert-card-green:hover  { border-color: #bbf7d0; }
.about-cert-card-blue:hover   { border-color: #bfdbfe; }
.about-cert-card-purple:hover { border-color: #ddd6fe; }
.about-cert-card-amber:hover  { border-color: #fde68a; }

.about-cert-icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: transform 0.3s ease;
}
.about-cert-card:hover .about-cert-icon { transform: scale(1.1); }
.about-cert-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.about-cert-fallback {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.about-cert-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}
.about-cert-card-green:hover  h3 { color: #16a34a; }
.about-cert-card-blue:hover   h3 { color: #2563eb; }
.about-cert-card-purple:hover h3 { color: #7c3aed; }
.about-cert-card-amber:hover  h3 { color: #d97706; }

.about-cert-card p {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.65;
}

/* ===== Section 8: Awards Carousel ===== */
.about-awards {
  padding: 64px 0;
  background: #ffffff;
}
.about-awards-carousel {
  margin-top: 48px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, white 10%, white 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, white 10%, white 90%, transparent 100%);
}
.about-awards-track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: awards-scroll 30s linear infinite;
  width: max-content;
}
.about-awards-track:hover { animation-play-state: paused; }

@keyframes awards-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.about-award-item {
  flex: 0 0 auto;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.about-award-badge {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.about-award-item:hover .about-award-badge { transform: scale(1.08); }
.about-award-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.about-award-label {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  line-height: 1.4;
}

/* ===== Section 9: Partners ===== */
.about-partners {
  padding: 96px 0;
  background: #f9fafb;
}
.about-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: center;
}
.about-partner-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-partner-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.about-partner-logo {
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .about-partner-logo { max-height: 56px; }
}
@media (min-width: 1024px) {
  .about-partner-logo { max-height: 64px; }
}
.about-partner-fallback {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  text-align: center;
}

/* ===== Section 10: Locations ===== */
.about-locations {
  padding: 80px 0;
  background: #ffffff;
}
.about-locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-location-card {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.about-location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.about-location-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 102, 204, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.about-location-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}
.about-location-address {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.8;
}
/* ===== Section 11: Fairs & Exhibitions ===== */
.about-fairs {
  padding: 64px 0;
  background: #ffffff;
}
.about-fairs-row {
  display: flex;
  align-items: center;
  gap: 80px;
}
.about-fairs-header {
  flex: 0 0 300px;
}
.about-fairs-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.about-fairs-header p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
}
.about-fairs-logos {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
.about-fair-item {
  height: 144px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  padding: 16px;
  transition: background 0.3s ease;
}
.about-fair-item:hover { background: #fef2f2; }
.about-fair-item img {
  width: 90%;
  max-height: 80%;
  object-fit: contain;
}
}

/* ===================== About Page Responsive (mobile-first) =====================
   Strategy: base values target 375px mobile; min-width media queries scale up.
   Reference: topbrighttoys.com/zh/pages/b2b-partnerships (Tailwind mobile-first) */

/* ---- Section 1: Who We Are ---- */
.about-who-we-are { padding: 72px 0 48px; }
.about-who-grid { grid-template-columns: 1fr; gap: 32px; }
.about-who-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  order: -1;
}
.about-who-img-offset { padding-top: 16px; }
.about-section-heading { font-size: 26px; margin-bottom: 16px; line-height: 1.25; }
.about-section-text { font-size: 15px; line-height: 1.7; }
.about-section-label span { font-size: 12px; }

@media (min-width: 768px) {
  .about-who-we-are { padding: 96px 0 64px; }
  .about-who-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .about-who-images { gap: 16px; }
  .about-who-img-offset { padding-top: 32px; }
  .about-section-heading { font-size: 36px; }
  .about-section-text { font-size: 17px; }
}
@media (min-width: 1024px) {
  .about-who-we-are { padding: 128px 0 80px; }
  .about-section-heading { font-size: 48px; }
}
@media (min-width: 1280px) {
  .about-section-heading { font-size: 60px; }
}

/* ---- Section 2: Timeline ---- */
.about-timeline { padding: 48px 0; }
.about-timeline-container { padding: 0 4px; }
.about-timeline-track-h { padding-top: 12px; margin-bottom: 24px; }
.about-timeline-items {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.about-timeline-items::-webkit-scrollbar { display: none; }
.about-timeline-item-h {
  flex: 0 0 auto;
  max-width: 78px;
  min-width: 70px;
}
.about-timeline-logo-box {
  width: 64px;
  height: 64px;
  padding: 6px;
  margin: 0 auto 8px;
}
.about-timeline-dot-h { margin-top: 8px; }
.about-timeline-line-h { display: none; }
.about-timeline-year-h { font-size: 16px; margin-top: 6px; }
.about-timeline-name-h { font-size: 11px; line-height: 1.3; margin-top: 2px; }
.about-timeline-content-area { padding: 24px 20px; margin-top: 24px; }
.about-timeline-year-giant { font-size: 40px; line-height: 1; margin-bottom: 12px; }
.about-timeline-content-title { font-size: 18px; margin-bottom: 12px; }
.about-timeline-content-desc { font-size: 14px; line-height: 1.7; }
.about-timeline-controls { margin-top: 20px; }

@media (min-width: 768px) {
  .about-timeline { padding: 80px 0; }
  .about-timeline-track-h { padding-top: 20px; margin-bottom: 48px; }
  .about-timeline-items {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    overflow-x: visible;
    padding-bottom: 0;
  }
  .about-timeline-item-h { max-width: 140px; min-width: 0; }
  .about-timeline-logo-box { width: 96px; height: 96px; padding: 12px; margin-bottom: 12px; }
  .about-timeline-line-h {
    display: block;
    top: 60px;
    left: 100px;
    right: 100px;
  }
  .about-timeline-year-h { font-size: 24px; }
  .about-timeline-name-h { font-size: 14px; }
  .about-timeline-content-area { padding: 40px; margin-top: 32px; }
  .about-timeline-year-giant { font-size: 72px; }
  .about-timeline-content-title { font-size: 26px; }
  .about-timeline-content-desc { font-size: 16px; }
  .about-timeline-controls { margin-top: 32px; }
}

/* ---- Section 3: Info Cards ---- */
.about-info-cards { padding: 56px 0; }
.about-cards-row { flex-direction: column; gap: 20px; }
.about-card {
  max-width: 100%;
  padding: 24px;
  border-radius: 20px;
}
.about-card-icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px; }
.about-card h3 { font-size: 20px; margin-bottom: 12px; line-height: 1.3; }
.about-card-text { font-size: 15px; line-height: 1.7; }

@media (min-width: 768px) {
  .about-info-cards { padding: 96px 0; }
  .about-cards-row { flex-direction: row; gap: 32px; }
  .about-card { padding: 32px; border-radius: 24px; max-width: 560px; }
  .about-card-icon { width: 64px; height: 64px; border-radius: 16px; }
  .about-card h3 { font-size: 24px; }
  .about-card-text { font-size: 16px; }
}
@media (min-width: 1280px) {
  .about-card { padding: 40px; }
  .about-card h3 { font-size: 28px; }
}

/* ---- Section 4: Global Carousel ---- */
.about-global { padding: 48px 0 56px; }
.about-global-grid { max-width: 100%; padding: 0 4px; }
.about-carousel-title { font-size: 22px; margin-bottom: 4px; line-height: 1.3; }
.about-carousel-subtitle { font-size: 18px; margin-bottom: 12px; line-height: 1.4; }
.about-carousel-desc { font-size: 15px; line-height: 1.7; }
.about-carousel-controls { margin-top: 20px; }

@media (min-width: 768px) {
  .about-global { padding: 64px 0 80px; }
  .about-global-grid { max-width: 800px; padding: 0 16px; }
  .about-carousel-title { font-size: 26px; }
  .about-carousel-subtitle { font-size: 20px; }
  .about-carousel-desc { font-size: 16px; }
  .about-carousel-controls { margin-top: 28px; }
}
@media (min-width: 1024px) {
  .about-carousel-title { font-size: 30px; }
  .about-carousel-subtitle { font-size: 22px; }
}

/* ---- Section 5: Teams + Stats ---- */
.about-teams { padding: 56px 0; }
.about-teams-grid { grid-template-columns: 1fr; gap: 20px; }
.about-team-card { padding: 24px; border-radius: 20px; }
.about-team-icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px; }
.about-team-card h3 { font-size: 20px; margin-bottom: 6px; }
.about-team-role { font-size: 13px; margin-bottom: 12px; }
.about-team-desc { font-size: 14px; line-height: 1.7; }
.about-global-stats-row {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
  padding-top: 32px;
}
.about-global-stat-number { font-size: 28px; }
.about-global-stat-label { font-size: 12px; line-height: 1.4; }

@media (min-width: 768px) {
  .about-teams { padding: 96px 0; }
  .about-teams-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .about-team-card { padding: 32px; border-radius: 24px; }
  .about-team-icon { width: 64px; height: 64px; border-radius: 16px; }
  .about-team-card h3 { font-size: 22px; }
  .about-team-role { font-size: 14px; }
  .about-team-desc { font-size: 15px; }
  .about-global-stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 48px;
  }
  .about-global-stat-number { font-size: 36px; }
  .about-global-stat-label { font-size: 13px; }
}

/* ---- Section 6: Materials ---- */
.about-materials { padding: 56px 0; }
.about-materials-grid { grid-template-columns: 1fr; gap: 32px; }
.about-materials-heading { font-size: 26px; margin-bottom: 20px; line-height: 1.25; }
.about-materials-items { grid-template-columns: 1fr; gap: 20px; }
.about-material-card { gap: 12px; }
.about-material-img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.about-material-text h3 { font-size: 18px; margin-bottom: 6px; }
.about-material-text p { font-size: 14px; line-height: 1.7; }
.about-materials-faq h3 { font-size: 18px; margin-bottom: 16px; line-height: 1.3; }
.about-faq-answer p { font-size: 14px; line-height: 1.7; }

@media (min-width: 768px) {
  .about-materials { padding: 96px 0; }
  .about-materials-grid { grid-template-columns: 2fr 1fr; gap: 48px; }
  .about-materials-heading { font-size: 36px; margin-bottom: 28px; }
  .about-materials-items { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-material-img { height: 220px; }
  .about-material-text h3 { font-size: 22px; }
  .about-material-text p { font-size: 15px; }
  .about-materials-faq h3 { font-size: 22px; margin-bottom: 20px; }
  .about-faq-answer p { font-size: 15px; }
}
@media (min-width: 1024px) {
  .about-materials-heading { font-size: 48px; }
}

/* ---- Section 7: Certifications ---- */
.about-certifications { padding: 56px 0; }
.about-certs-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.about-cert-card {
  padding: 16px;
  border-radius: 20px;
}
.about-cert-icon { width: 56px; height: 56px; margin: 0 auto 16px; }
.about-cert-card h3 { font-size: 15px; margin-bottom: 8px; line-height: 1.3; }
.about-cert-card p { font-size: 12px; line-height: 1.6; }

@media (min-width: 768px) {
  .about-certifications { padding: 80px 0; }
  .about-certs-grid { gap: 24px; }
  .about-cert-card { padding: 24px; border-radius: 24px; }
  .about-cert-icon { width: 80px; height: 80px; }
  .about-cert-card h3 { font-size: 20px; margin-bottom: 12px; }
  .about-cert-card p { font-size: 14px; line-height: 1.7; }
}
@media (min-width: 1024px) {
  .about-certs-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .about-cert-card { padding: 32px; }
  .about-cert-card h3 { font-size: 24px; }
}

/* ---- Section 8: Awards (mobile: scroll-snap carousel, desktop: infinite scroll) ---- */
.about-awards { padding: 48px 0; }
.about-awards-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: none;
  -webkit-mask-image: none;
}
.about-awards-carousel::-webkit-scrollbar { display: none; }
.about-awards-track {
  animation: none;
  width: max-content;
  scroll-snap-type: x mandatory;
}
.about-award-item { width: 110px; margin-right: 24px; }
.about-award-badge { width: 72px; height: 72px; }
.about-award-label { font-size: 11px; max-width: 110px; }

@media (min-width: 768px) {
  .about-awards { padding: 64px 0; }
  .about-awards-carousel {
    overflow: hidden;
    scroll-snap-type: none;
    mask-image: linear-gradient(to right, transparent 0%, white 10%, white 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, white 10%, white 90%, transparent 100%);
  }
  .about-awards-track {
    animation: awards-scroll 30s linear infinite;
    scroll-snap-type: none;
  }
  .about-award-item { width: 140px; margin-right: 32px; }
  .about-award-badge { width: 88px; height: 88px; }
  .about-award-label { font-size: 12px; max-width: 140px; }
}
@media (min-width: 1024px) {
  .about-award-item { width: 160px; margin-right: 40px; }
  .about-award-badge { width: 96px; height: 96px; }
}

/* ---- Section 9: Fairs ---- */
.about-fairs { padding: 48px 0; }
.about-fairs-row { flex-direction: column; gap: 24px; }
.about-fairs-header {
  flex: none;
  text-align: left;
  max-width: 100%;
}
.about-fairs-header h2 { font-size: 22px; margin-bottom: 8px; line-height: 1.3; }
.about-fairs-header p { font-size: 14px; }
.about-fairs-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.about-fair-item { height: 80px; padding: 12px; border-radius: 16px; }

@media (min-width: 768px) {
  .about-fairs { padding: 64px 0; }
  .about-fairs-header h2 { font-size: 28px; }
  .about-fairs-header p { font-size: 16px; }
  .about-fairs-logos { gap: 16px 24px; }
  .about-fair-item { height: 96px; padding: 16px; border-radius: 24px; }
}
@media (min-width: 1024px) {
  .about-fairs-row { flex-direction: row; gap: 80px; align-items: center; }
  .about-fairs-header { flex: 0 0 300px; text-align: left; }
  .about-fairs-header h2 { font-size: 24px; }
  .about-fair-item { height: 144px; }
}

/* ---- Section 11: Partners ---- */
.about-partners { padding: 48px 0; }
.about-partners-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.about-partner-item {
  height: 72px;
  padding: 12px;
  border-radius: 12px;
}
.about-partner-logo { max-height: 36px; }

@media (min-width: 768px) {
  .about-partners { padding: 96px 0; }
  .about-partners-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .about-partner-item { height: 96px; padding: 20px; border-radius: 16px; }
  .about-partner-logo { max-height: 48px; }
}
@media (min-width: 1024px) {
  .about-partners-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .about-partner-logo { max-height: 56px; }
}
@media (min-width: 1280px) {
  .about-partners-grid { grid-template-columns: repeat(5, 1fr); gap: 32px; }
  .about-partner-item { padding: 24px; }
  .about-partner-logo { max-height: 64px; }
}

/* ---- Section headers (unified responsive) ---- */
.about-section-header h2 { font-size: 24px; line-height: 1.3; }
.about-section-header p { font-size: 15px; line-height: 1.6; }
@media (min-width: 768px) {
  .about-section-header h2 { font-size: 32px; }
  .about-section-header p { font-size: 17px; }
}
@media (min-width: 1024px) {
  .about-section-header h2 { font-size: 40px; }
  .about-section-header p { font-size: 18px; }
}

/* ===================== Single Post — Apple Reading Experience ===================== */

.apple-post {
  min-height: 100vh;
}

/* Hero */
.apple-post-hero {
  background: var(--bg-alt);
  padding: 120px 24px 64px;
  text-align: center;
}

.apple-post-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.apple-post-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 20px;
  transition: opacity 0.2s;
}

.apple-post-category:hover {
  opacity: 0.7;
}

.apple-post-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 20px;
}

.apple-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.apple-post-meta time {
  font-variant-numeric: tabular-nums;
}

.apple-post-meta-dot {
  opacity: 0.4;
}

/* Featured image */
.apple-post-featured {
  max-width: 960px;
  margin: -32px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.apple-post-featured-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* Article body */
.apple-post-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

/* Content typography — Apple reading style */
.apple-post-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  letter-spacing: -0.01em;
}

.apple-post-content p {
  margin-bottom: 24px;
}

.apple-post-content h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 48px 0 16px;
  color: var(--text);
}

.apple-post-content h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 40px 0 12px;
  color: var(--text);
}

.apple-post-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 8px;
}

.apple-post-content ul,
.apple-post-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.apple-post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.apple-post-content blockquote {
  margin: 32px 0;
  padding: 16px 0 16px 24px;
  border-left: 3px solid var(--primary);
  color: var(--text-muted);
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
}

.apple-post-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}

.apple-post-content a:hover {
  opacity: 0.7;
}

.apple-post-content img {
  border-radius: var(--radius-lg);
  margin: 32px 0;
}

.apple-post-content code {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 14px;
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
}

.apple-post-content pre {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow-x: auto;
  margin: 32px 0;
  font-size: 14px;
  line-height: 1.6;
}

.apple-post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Tags */
.apple-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.apple-post-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
}

.apple-post-tag:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}

/* Divider */
.apple-post-divider {
  border: none;
  height: 1px;
  background: var(--border-light);
  margin: 48px 0;
}

/* Post navigation */
.apple-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.apple-post-nav-prev,
.apple-post-nav-next {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  transition: background 0.2s;
}

.apple-post-nav-prev:hover,
.apple-post-nav-next:hover {
  background: var(--border-light);
}

.apple-post-nav-next {
  text-align: right;
}

.apple-post-nav-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.apple-post-nav-prev a,
.apple-post-nav-next a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.apple-post-nav-prev a:hover,
.apple-post-nav-next a:hover {
  color: var(--primary);
}

/* Back to blog */
.apple-post-back {
  margin-top: 40px;
  text-align: center;
}

.apple-post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 9999px;
  transition: all 0.2s;
}

.apple-post-back-link:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}

.apple-post-back-link svg {
  transition: transform 0.2s;
}

.apple-post-back-link:hover svg {
  transform: translateX(-3px);
}

/* ===================== Single Post Responsive ===================== */

@media (max-width: 768px) {
  .apple-post-hero {
    padding: 100px 16px 48px;
  }

  .apple-post-title {
    font-size: 26px;
  }

  .apple-post-featured {
    padding: 0 16px;
    margin-top: -24px;
  }

  .apple-post-body {
    padding: 40px 16px 64px;
  }

  .apple-post-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .apple-post-content h2 {
    font-size: 22px;
    margin: 36px 0 12px;
  }

  .apple-post-content h3 {
    font-size: 19px;
    margin: 28px 0 10px;
  }

  .apple-post-nav {
    grid-template-columns: 1fr;
  }

  .apple-post-nav-next {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .apple-post-hero {
    padding: 88px 16px 36px;
  }

  .apple-post-title {
    font-size: 22px;
  }

  .apple-post-meta {
    font-size: 13px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .apple-post-body {
    padding: 32px 16px 48px;
  }

  .apple-post-content {
    font-size: 15px;
  }
}

/* ===================== Brand Page — Apple Style ===================== */

/* Hero */
.brand-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.brand-hero-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.brand-hero-content {
  z-index: 2;
}

.brand-hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.brand-hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.brand-hero-desc {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 400;
}

.brand-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 600;
  border-radius: 980px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.25s;
  cursor: pointer;
}

.brand-hero-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #1d1d1f;
}

.brand-hero-cta:active {
  transform: scale(0.98);
}

.brand-hero-cta svg {
  transition: transform 0.25s;
}

.brand-hero-cta:hover svg {
  transform: translateY(2px);
}

.brand-hero-image {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-hero-img {
  max-height: 480px;
  width: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.brand-hero-image:hover .brand-hero-img {
  transform: scale(1.03);
}

/* Stats Bar */
.brand-stats {
  background: var(--bg-alt);
  padding: 64px 0;
  border-bottom: 1px solid var(--border-light);
}

.brand-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.brand-stat-value {
  display: block;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.brand-stat-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* Product Bento Grid */
.brand-products {
  padding: 120px 0;
  background: #ffffff;
}

.brand-products-header {
  text-align: center;
  margin-bottom: 64px;
}

.brand-products-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.brand-products-subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  font-weight: 400;
}

.brand-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.35s;
  cursor: pointer;
}

.bento-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  color: inherit;
}

.bento-card:active {
  transform: scale(0.98);
}

.bento-card-lg {
  grid-column: span 2;
}

.bento-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
}

.bento-card-lg .bento-card-image {
  aspect-ratio: 16 / 10;
}

.bento-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.bento-card:hover .bento-card-img {
  transform: scale(1.06);
}

.bento-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.bento-card-body {
  padding: 20px 24px 24px;
}

.bento-card-cat {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 6px;
  display: block;
}

.bento-card-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 4px;
}

.bento-card-sku {
  font-size: 13px;
  color: var(--text-muted);
}

.brand-products-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}

.brand-products-empty svg {
  margin: 0 auto 16px;
  opacity: 0.4;
}

/* CTA Section */
.brand-cta {
  padding: 120px 0;
  background: var(--bg-alt);
}

.brand-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.brand-cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.brand-cta-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.brand-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.brand-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 980px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.25s, background 0.25s;
  cursor: pointer;
}

.brand-cta-btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.brand-cta-btn-primary:hover {
  background: var(--primary-dark);
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
  color: #ffffff;
}

.brand-cta-btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.brand-cta-btn-secondary:hover {
  background: var(--primary-subtle);
  transform: scale(1.04);
  color: var(--primary);
}

.brand-cta-btn:active {
  transform: scale(0.97);
}

/* ===================== Brand Page Responsive ===================== */
@media (max-width: 1024px) {
  .brand-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .brand-hero-content {
    order: 1;
  }

  .brand-hero-image {
    order: 0;
  }

  .brand-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .brand-hero-cta {
    margin: 0 auto;
  }

  .brand-hero-img {
    max-height: 360px;
  }

  .brand-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .brand-hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .brand-hero-title {
    font-size: clamp(32px, 8vw, 44px);
  }

  .brand-hero-desc {
    font-size: 16px;
  }

  .brand-hero-img {
    max-height: 280px;
    border-radius: 20px;
  }

  .brand-stats {
    padding: 48px 0;
  }

  .brand-stats-grid {
    gap: 24px;
  }

  .brand-stat-value {
    font-size: 36px;
  }

  .brand-products {
    padding: 80px 0;
  }

  .brand-bento {
    grid-template-columns: 1fr;
  }

  .bento-card-lg {
    grid-column: span 1;
  }

  .bento-card-image {
    aspect-ratio: 4 / 3;
  }

  .bento-card-lg .bento-card-image {
    aspect-ratio: 4 / 3;
  }

  .brand-cta {
    padding: 80px 0;
  }

  .brand-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .brand-cta-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .brand-hero-cta,
  .brand-hero-img,
  .bento-card,
  .bento-card-img,
  .brand-cta-btn {
    transition: none;
  }

  .brand-hero-cta:hover,
  .brand-hero-image:hover .brand-hero-img,
  .bento-card:hover,
  .bento-card:hover .bento-card-img,
  .brand-cta-btn:hover {
    transform: none;
  }
}

/* ===================== Apple-Style Product Detail Page ===================== */

/* -- Container -- */
.ap-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .ap-container { padding: 0 16px; }
}

/* -- Breadcrumb -- */
.ap-breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid #e8e8ed;
}

.ap-breadcrumb .ap-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  color: #86868b;
}

.ap-breadcrumb a {
  color: #86868b;
  text-decoration: none;
  transition: color 0.2s;
}

.ap-breadcrumb a:hover {
  color: #1d1d1f;
}

.ap-breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  color: #d2d2d7;
  margin: 0 2px;
}

.ap-breadcrumb-current {
  color: #1d1d1f;
  font-weight: 500;
}

/* -- Product Grid (Apple two-column hero layout) -- */
.ap-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  min-height: calc(100vh - 125px);
}

@media (max-width: 1023px) {
  .ap-product-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

/* -- Gallery Column -- */
.ap-gallery-col {
  position: relative;
  background: #ffffff;
}

.ap-gallery-sticky {
  position: sticky;
  top: 96px;
  padding: 32px 24px 32px 0;
}

@media (max-width: 1023px) {
  .ap-gallery-sticky {
    position: relative;
    top: auto;
    padding: 8px 0;
  }
}

/* -- Main Gallery -- */
.ap-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 20px;
  background: #f5f5f7;
}

.ap-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ap-gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.ap-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ap-gallery-main:hover .ap-gallery-img {
  transform: scale(1.03);
}

/* -- Thumbnails -- */
.ap-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 0 4px;
}

.ap-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #f5f5f7;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ap-thumb:hover {
  border-color: #d2d2d7;
}

.ap-thumb.active {
  border-color: #1d1d1f;
  box-shadow: 0 0 0 1px #1d1d1f;
}

.ap-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

/* -- Gallery Fallback -- */
.ap-gallery-fallback {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
  border-radius: 20px;
  color: #86868b;
}

/* -- Info Column -- */
.ap-info-col {
  padding: 32px 0 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}

@media (max-width: 1023px) {
  .ap-info-col {
    padding: 8px 0 48px;
  }
}

/* -- New Badge -- */
.ap-badge-new {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #dc2626;
  margin-bottom: 16px;
}

/* -- Brand Name -- */
.ap-brand-name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ap-brand-name a {
  color: #06c;
  text-decoration: none;
  transition: opacity 0.2s;
}

.ap-brand-name a:hover {
  opacity: 0.7;
}

/* -- Product Title (Apple hero headline style) -- */
.ap-product-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #1d1d1f;
  margin: 0 0 12px;
}

/* -- SKU -- */
.ap-sku {
  font-size: 13px;
  color: #86868b;
  margin: 0 0 24px;
  font-variant-numeric: tabular-nums;
}

/* -- Price -- */
.ap-price {
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}

/* -- Section Label -- */
.ap-section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #86868b;
  margin: 0 0 14px;
}

/* -- Specs Table (Apple clean table style) -- */
.ap-specs {
  margin: 0 0 36px;
  padding-top: 28px;
  border-top: 1px solid #e8e8ed;
}

.ap-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ap-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f7;
  gap: 16px;
}

.ap-spec-row:last-child {
  border-bottom: none;
}

.ap-spec-row dt {
  font-size: 14px;
  font-weight: 500;
  color: #86868b;
  flex-shrink: 0;
  min-width: 130px;
}

.ap-spec-row dd {
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
  text-align: right;
  margin: 0;
}

/* -- Description -- */
.ap-description {
  margin: 0 0 40px;
  padding-top: 28px;
  border-top: 1px solid #e8e8ed;
}

.ap-description-content {
  font-size: 15px;
  line-height: 1.75;
  color: #6e6e73;
}

.ap-description-content p {
  margin: 0 0 16px;
}

.ap-description-content p:last-child {
  margin-bottom: 0;
}

.ap-description-content ul,
.ap-description-content ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.ap-description-content li {
  margin-bottom: 6px;
}

/* -- CTA Button (Apple-style blue pill) -- */
.ap-cta-wrap {
  margin-top: auto;
  padding-top: 32px;
}

.ap-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  background: #0071e3;
  border: none;
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer;
}

.ap-cta-btn:hover {
  background: #0077ed;
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(0, 113, 227, 0.35);
  color: #ffffff;
}

.ap-cta-btn:active {
  transform: scale(0.98);
}

.ap-cta-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s;
}

.ap-cta-btn:hover svg {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .ap-cta-btn {
    max-width: 100%;
  }
}

/* -- Scroll Reveal on Product Page -- */
@media (prefers-reduced-motion: no-preference) {
  .ap-info-col {
    opacity: 0;
    transform: translateY(20px);
    animation: apFadeIn 0.7s 0.15s ease forwards;
  }

  .ap-gallery-col {
    opacity: 0;
    animation: apFadeIn 0.7s 0.05s ease forwards;
  }
}

@keyframes apFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -- Reduced Motion -- */
@media (prefers-reduced-motion: reduce) {
  .ap-gallery-img,
  .ap-cta-btn {
    transition: none;
  }

  .ap-gallery-main:hover .ap-gallery-img,
  .ap-cta-btn:hover {
    transform: none;
  }

  .ap-info-col,
  .ap-gallery-col {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
