/* ========================================
   擎动未来电商 - 科技感/SaaS 主题样式
   ======================================== */

/* ---- CSS Variables ---- */
:root {
  --bg-primary: #f7f9fd;
  --bg-secondary: #ffffff;
  --bg-tertiary: #edf3ff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;

  --text-primary: #17211d;
  --text-secondary: #4d5c55;
  --text-tertiary: #7a8982;

  --accent-1: #7aa7ff;
  --accent-2: #4f7bf1;
  --accent-3: #111816;
  --accent-gradient: #7aa7ff;
  --accent-gradient-h: #6697ff;

  --glow-purple: rgba(79, 123, 241, 0.10);
  --glow-blue: rgba(79, 123, 241, 0.08);
  --glow-pink: rgba(79, 123, 241, 0.06);

  --border-subtle: rgba(23, 33, 29, 0.08);
  --border-hover: rgba(79, 123, 241, 0.28);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 0 1px rgba(79, 123, 241, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile homepage hero: growth story */
.hp-mobile-growth-art,
.hp-mobile-capabilities,
.hp-mobile-hero-wave,
.hp-mobile-scroll-cue {
  display: none;
}

@media (max-width: 768px) {
  .navbar-container .logo-img {
    height: 80px;
  }

  .mobile-menu-btn {
    min-width: 72px;
    height: 40px;
  }

  .hp-hero {
    min-height: 100dvh;
    padding: 68px 26px 0;
    align-items: stretch;
    overflow: hidden;
    background:
      radial-gradient(circle at 92% 22%, rgba(108, 158, 255, 0.16) 0%, rgba(108, 158, 255, 0.05) 32%, rgba(108, 158, 255, 0) 56%),
      linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
  }

  .hp-hero::before {
    inset: auto 0 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(180deg, rgba(247, 250, 255, 0), rgba(234, 243, 255, 0.8));
  }

  .hp-hero::after {
    inset: 0 0 0 auto;
    width: 58%;
    opacity: 0.48;
    background-size: 28px 28px;
  }

  .hp-hero-grid {
    display: block;
    width: 100%;
    max-width: 430px;
    min-height: calc(100dvh - 68px);
    padding: clamp(54px, 10.7vh, 90px) 0 54px;
    transform: none;
  }

  .hp-hero-left {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
    padding: 0;
    text-align: left;
    transform: none;
  }

  .hp-hero-left::before {
    display: none;
  }

  .hp-hero-badge {
    position: relative;
    z-index: 3;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
  }

  .hp-hero-left h1 {
    position: relative;
    z-index: 3;
    width: max-content;
    max-width: 278px;
    margin: 0 0 18px;
    text-align: left;
    font-size: clamp(40px, 11.3vw, 47px);
    font-weight: 760;
    line-height: 1.08;
  }

  .hp-hero-title-accent {
    display: block;
    width: max-content;
    margin: 3px 0 0;
  }

  .hp-hero-title-accent::before {
    left: -3px;
    right: -3px;
    bottom: -10px;
    height: 12px;
    border-bottom: 3px solid #f28a21;
    border-radius: 0 0 52% 48%;
    background: transparent;
    transform: rotate(-1.2deg) scaleX(1);
    animation: none;
  }

  .hp-hero-title-accent::after {
    right: -11px;
    bottom: -14px;
    width: 8px;
    height: 8px;
    opacity: 1;
    animation: none;
  }

  .hp-mobile-growth-art {
    position: absolute;
    z-index: 1;
    top: 30px;
    right: -18px;
    display: block;
    width: min(64vw, 250px);
    pointer-events: none;
    opacity: 0.9;
  }

  .hp-mobile-growth-art svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .hp-hero-sub {
    position: relative;
    z-index: 3;
    max-width: 238px;
    margin: 0 0 18px;
    text-align: left;
    font-size: 13px;
    line-height: 1.65;
  }

  .hp-hero-sub-mobile,
  .hp-hero-sub-mobile > span {
    display: block;
  }

  .hp-hero-actions {
    position: relative;
    z-index: 4;
    width: 222px;
    max-width: 222px;
    margin: 0;
    gap: 9px;
    flex-direction: column;
  }

  .hp-hero .hp-hero-actions .btn-primary,
  .hp-hero .hp-hero-actions .btn-secondary {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    font-size: 13px;
  }

  .hp-hero-action-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .hp-mobile-capabilities {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: clamp(24px, 3.4vh, 30px);
  }

  .hp-mobile-capability {
    min-width: 0;
    min-height: clamp(164px, 21.8vh, 184px);
    padding: 18px 7px 14px;
    border: 1px solid rgba(119, 157, 224, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 26px rgba(63, 101, 170, 0.08);
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hp-mobile-capability svg {
    display: block;
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    padding: 0;
    overflow: visible;
    filter: drop-shadow(0 5px 7px rgba(47, 120, 243, 0.16));
  }

  .hp-mobile-capability strong {
    display: block;
    margin-bottom: 14px;
    color: #12201b;
    font-size: 16px;
    line-height: 1.25;
  }

  .hp-mobile-capability strong::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    margin: 8px auto 0;
    border-radius: 2px;
    background: #2f78f3;
  }

  .hp-mobile-capability p {
    color: #667085;
    font-size: 10px;
    line-height: 1.65;
  }

  .hp-mobile-capability p span {
    display: block;
    white-space: nowrap;
  }

  .hp-mobile-hero-wave {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 112px;
    pointer-events: none;
  }

  .hp-mobile-hero-wave path {
    fill: none;
    stroke: rgba(89, 143, 241, 0.18);
    stroke-width: 1.2;
  }

  .hp-mobile-scroll-cue {
    position: absolute;
    z-index: 5;
    bottom: 18px;
    left: 50%;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #2975f3;
    transform: translateX(-50%);
  }

  .hp-mobile-scroll-cue svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.dark-mode .hp-hero {
    background:
      radial-gradient(circle at 92% 22%, rgba(68, 124, 239, 0.2) 0%, rgba(68, 124, 239, 0.05) 34%, rgba(68, 124, 239, 0) 58%),
      linear-gradient(180deg, #0d1a30 0%, #10213e 100%);
  }

  body.dark-mode .hp-hero::before {
    background: linear-gradient(180deg, rgba(13, 26, 48, 0), rgba(11, 25, 48, 0.88));
  }

  body.dark-mode .hp-mobile-growth-art {
    opacity: 0.8;
    filter: saturate(1.15) brightness(0.92);
  }

  body.dark-mode .hp-mobile-capability {
    border-color: rgba(112, 155, 255, 0.14);
    background: rgba(16, 34, 63, 0.78);
    box-shadow: 0 12px 28px rgba(3, 11, 24, 0.18);
  }

  body.dark-mode .hp-mobile-capability strong {
    color: #f3f7ff;
  }

  body.dark-mode .hp-mobile-capability p {
    color: rgba(210, 222, 243, 0.72);
  }

  body.dark-mode .hp-mobile-hero-wave path {
    stroke: rgba(111, 158, 246, 0.16);
  }
}

@media (max-width: 360px) {
  .hp-hero-grid {
    padding-top: 24px;
  }

  .hp-hero-left h1 {
    font-size: 39px;
  }

  .hp-mobile-growth-art {
    right: -22px;
    width: 226px;
  }

  .hp-mobile-capability {
    min-height: 164px;
    padding-inline: 5px;
  }

  .hp-mobile-capability strong {
    font-size: 14px;
  }

  .hp-mobile-capability p {
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-mobile-scroll-cue {
    transition: none;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.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;
}

/* Grid dot background - very subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(23, 33, 29, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---- Selection ---- */
::selection {
  background: rgba(79, 123, 241, 0.22);
  color: var(--text-primary);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

/* ---- Keyframes ---- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes badge-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(79, 123, 241, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(79, 123, 241, 0);
  }
}

@keyframes border-glow {
  0%, 100% { border-color: rgba(79, 123, 241, 0.2); }
  50% { border-color: rgba(79, 123, 241, 0.4); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg, rgba(255, 255, 255, 0.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  border-bottom-color: rgba(79, 123, 241, 0.15);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* Default (light): dark logo visible, white logo hidden */
.logo-night { display: none; }
.logo-day   { display: block; }

/* Dark mode classes - toggled by JS via body class */
body.dark-mode .logo-night { display: block; }
body.dark-mode .logo-day   { display: none; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-2);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-2);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  width: 62px;
  height: 27px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #86bee1 0%, #5e9dcc 100%);
  border: 1px solid rgba(52, 107, 153, 0.32);
  cursor: pointer;
  position: relative;
  padding: 0;
  border-radius: 999px;
  transition: all var(--transition-fast);
  color: #f6c92f;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: inset 0 -2px 4px rgba(28, 72, 113, 0.22), inset 0 1px 2px rgba(255, 255, 255, 0.42), 0 1px 3px rgba(23, 33, 29, 0.12);
}

.theme-toggle::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 45px;
  height: 17px;
  background: url("data:image/svg+xml,%3Csvg width='104' height='40' viewBox='0 0 104 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2389b7d6' opacity='.74' d='M0 40h104V15c-8.5 0-15.2 3.8-19.2 10.2C81.5 16.8 74 11.5 64.8 11.5c-9 0-16 5-19.2 12.4-3.9-3.8-8.7-5.7-14.4-5.7-9 0-16.1 5.4-18.7 13C8.4 29.2 4.2 29.3 0 31.4V40z'/%3E%3Cpath fill='%23f7ffff' d='M0 40h104V23.5c-7.2-.1-13 2.7-16.7 7.8-3.3-7.8-10.1-12.6-18.4-12.6-8.1 0-14.5 4.7-17.7 11.5-3.4-3.1-7.4-4.6-12.1-4.6-6.5 0-11.8 3.2-14.8 8.4-2.8-2-6.2-3-10.3-2.9-5.4.2-10 2.6-14 6.7V40z'/%3E%3C/svg%3E") center bottom / contain no-repeat;
  pointer-events: none;
  z-index: 1;
}

.theme-toggle::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at -5% 54%, rgba(255, 255, 255, 0.22) 0 24px, transparent 25px),
    radial-gradient(ellipse at 37% 54%, rgba(255, 255, 255, 0.12) 0 26px, transparent 27px),
    radial-gradient(ellipse at 77% 54%, rgba(41, 93, 135, 0.17) 0 27px, transparent 28px);
  pointer-events: none;
  z-index: 0;
}

.theme-toggle:hover {
  border-color: rgba(59, 119, 169, 0.38);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  width: 19px;
  height: 19px;
  margin-left: 4px;
  position: relative;
  border-radius: 50%;
  background: #f6ca28;
  box-shadow: 0 2px 5px rgba(117, 78, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: all var(--transition-base);
  z-index: 2;
}

body.dark-mode .theme-toggle {
  justify-content: flex-start;
  background:
    linear-gradient(135deg, #07111f 0%, #12366f 54%, #2f72ef 100%);
  border-color: rgba(112, 155, 255, 0.32);
  color: #d9e8ff;
  box-shadow: inset 0 -2px 5px rgba(3, 12, 28, 0.42), 0 1px 2px rgba(0, 0, 0, 0.24);
}

body.dark-mode .theme-toggle:hover {
  border-color: rgba(132, 176, 255, 0.46);
}

body.dark-mode .theme-toggle::before {
  right: auto;
  left: 8px;
  bottom: auto;
  top: 4px;
  width: 31px;
  height: 19px;
  background: url("data:image/svg+xml,%3Csvg width='70' height='44' viewBox='0 0 70 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff'%3E%3Cpath d='M10 0l2.8 7.2L20 10l-7.2 2.8L10 20l-2.8-7.2L0 10l7.2-2.8L10 0z'/%3E%3Cpath d='M48 10l2.2 5.8L56 18l-5.8 2.2L48 26l-2.2-5.8L40 18l5.8-2.2L48 10z' opacity='.95'/%3E%3Cpath d='M24 27l1.8 4.2L30 33l-4.2 1.8L24 39l-1.8-4.2L18 33l4.2-1.8L24 27z' opacity='.92'/%3E%3Ccircle cx='4' cy='34' r='1.5' opacity='.85'/%3E%3Ccircle cx='34' cy='6' r='1.2' opacity='.7'/%3E%3Ccircle cx='62' cy='30' r='1.4' opacity='.75'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  z-index: 1;
}

body.dark-mode .theme-toggle::after {
  background:
    radial-gradient(ellipse at 82% 50%, rgba(123, 174, 255, 0.2) 0 17px, transparent 18px),
    radial-gradient(ellipse at 58% 50%, rgba(80, 137, 255, 0.14) 0 25px, transparent 26px),
    radial-gradient(ellipse at 34% 50%, rgba(47, 114, 239, 0.1) 0 31px, transparent 32px);
}

body.dark-mode .theme-toggle-icon {
  width: 19px;
  height: 19px;
  margin-left: 38px;
  background:
    radial-gradient(circle at 36% 43%, #8fc0ff 0 3.2px, transparent 3.7px),
    radial-gradient(circle at 70% 36%, #8fc0ff 0 2.3px, transparent 2.8px),
    radial-gradient(circle at 58% 70%, rgba(143, 192, 255, 0.72) 0 1.3px, transparent 1.7px),
    #d9e8ff;
  box-shadow: 0 2px 8px rgba(25, 89, 205, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

body.dark-mode .theme-toggle-icon::before {
  content: none;
}

/* ---- Buttons ---- */
.btn-primary {
  background: #4f7bf1;
  color: #fff;
  padding: 11px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #3f68de;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(79, 123, 241, 0.26);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 11px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  padding: 9px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-outline:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
  background: rgba(79, 123, 241, 0.06);
}

/* ---- Section ---- */
.section {
  padding: 120px 24px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.section-header .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(79, 123, 241, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(79, 123, 241, 0.18);
}

.section-header h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.mobile-title-line {
  display: inline;
}

.desktop-title-punct {
  display: inline;
}

.mobile-copy-line {
  display: inline;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Glass Card (reusable) ---- */
.glass-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: var(--bg-secondary);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

/* Hero subtle atmosphere */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(79, 123, 241, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 123, 241, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(79, 123, 241, 0.08);
  border: 1px solid rgba(79, 123, 241, 0.15);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-badge .new {
  background: var(--accent-2);
  color: #fff;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -2px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin: 56px 0 64px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 6px;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ---- Hero QDbot Badge ---- */
.hero-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  padding: 10px 24px;
  margin-top: 8px;
}

.hero-tool-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.hero-tool-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-tool-text em {
  font-style: normal;
  color: var(--text-tertiary);
  font-weight: 400;
}

/* ---- Scroll Indicator ---- */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-tertiary);
  border-bottom: 2px solid var(--text-tertiary);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-arrow:last-child {
  animation-delay: 0.3s;
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 0; transform: rotate(45deg) translate(-4px, -4px); }
  50% { opacity: 1; transform: rotate(45deg) translate(0, 0); }
}

/* ---- Data Dashboard ---- */
.dashboard-section {
  padding: 0 24px 120px;
  position: relative;
}

.dashboard-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.dashboard-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--accent-2);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.dashboard-card:hover::before {
  opacity: 1;
}

.dashboard-card:hover {
  background: var(--bg-secondary);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dashboard-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  background: rgba(79, 123, 241, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.dashboard-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.dashboard-label {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.dashboard-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 8px;
}

/* ---- Services ---- */
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-card {
  flex: 0 1 350px;
  min-width: 300px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: block;
}

.service-card-body {
  padding: 24px 28px 28px;
}

.service-num {
  display: inline-block;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  color: rgba(79, 123, 241, 0.15);
  margin-bottom: 4px;
  line-height: 1;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

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

/* ---- Learning Path ---- */
.learning-path {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.learning-path::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 70px;
  right: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
  z-index: 0;
}

.path-step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.path-node {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: all var(--transition-base);
  position: relative;
}

.path-node::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.path-step:hover .path-node {
  border-color: var(--accent-2);
  box-shadow: 0 0 30px var(--glow-purple);
  transform: scale(1.08);
}

.path-step:hover .path-node::before {
  opacity: 1;
}

.path-step .step-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-2);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.path-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.path-step p {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
  max-width: 180px;
  margin: 0 auto;
}

/* ---- Tool Section ---- */
.tool-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.tool-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.tool-content h2 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.tool-content > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.tool-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.tool-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.tool-feature:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.tool-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(79, 123, 241, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.tool-feature span {
  font-size: 15px;
  color: var(--text-secondary);
}

.tool-downloads {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 28px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.download-btn:hover {
  border-color: var(--accent-1);
  background: var(--bg-card-hover);
  box-shadow: 0 4px 16px rgba(79, 123, 241, 0.2);
  transform: translateY(-2px);
}

.download-btn-primary {
  border-color: rgba(79, 123, 241, 0.3);
  background: rgba(79, 123, 241, 0.08);
}

.download-btn-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.download-btn-disabled:hover {
  border-color: var(--border-subtle);
  background: var(--bg-card);
  box-shadow: none;
  transform: none;
}

.download-btn .icon {
  font-size: 28px;
}

.download-btn .info {
  display: flex;
  flex-direction: column;
}

.download-btn .label {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
}

.download-btn .version {
  font-size: 16px;
  font-weight: 700;
}

/* Tool preview - terminal style */
.tool-preview {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.tool-preview::before {
  content: '● ● ●';
  color: var(--text-tertiary);
  font-size: 12px;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.tool-preview-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tool-preview-icon-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  animation: float 4s ease-in-out infinite;
}

.tool-hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}

.tool-preview h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tool-preview p {
  color: var(--text-tertiary);
  font-size: 14px;
}

.tool-preview .code-line {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ---- News Section ---- */
.news-section {
  background: var(--bg-secondary);
}

.news-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.news-image {
  height: 200px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.news-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg-tertiary), transparent);
  pointer-events: none;
}

.news-content {
  padding: 24px;
}

.news-tag {
  display: inline-block;
  background: rgba(79, 123, 241, 0.12);
  color: var(--accent-2);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.news-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

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

.news-date {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-date::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent-2);
  border-radius: 50%;
}

/* ---- Cases Section ---- */
.cases-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.case-image {
  height: 260px;
  background:
    linear-gradient(135deg, rgba(79, 123, 241, 0.12), rgba(255, 255, 255, 0.88)),
    var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 14px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid rgba(23, 33, 29, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 33, 29, 0.08);
}

.case-image--portrait img {
  width: auto;
  max-width: 100%;
}

.case-image--landscape img {
  object-position: center;
}

.case-image--placeholder {
  background:
    linear-gradient(135deg, rgba(79, 123, 241, 0.08), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(135deg, rgba(79, 123, 241, 0.10) 0 1px, transparent 1px 14px),
    var(--bg-tertiary);
}

.case-placeholder {
  width: min(100%, 260px);
  min-height: 142px;
  border: 1px dashed rgba(79, 123, 241, 0.38);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: var(--text-tertiary);
  text-align: center;
}

.case-placeholder span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
}

.case-placeholder strong {
  color: var(--text-primary);
  font-size: 18px;
  letter-spacing: -0.2px;
}

.case-placeholder small {
  font-size: 12px;
}

body.dark-mode .case-image {
  background:
    linear-gradient(135deg, rgba(79, 123, 241, 0.18), rgba(10, 32, 70, 0.72)),
    var(--bg-tertiary);
}

body.dark-mode .case-image img {
  border-color: rgba(112, 155, 255, 0.18);
  background: #0b1a33;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

body.dark-mode .case-image--placeholder {
  background:
    linear-gradient(135deg, rgba(79, 123, 241, 0.16), rgba(10, 32, 70, 0.80)),
    repeating-linear-gradient(135deg, rgba(122, 167, 255, 0.16) 0 1px, transparent 1px 14px),
    var(--bg-tertiary);
}

body.dark-mode .case-placeholder {
  border-color: rgba(122, 167, 255, 0.36);
  background: rgba(10, 32, 70, 0.68);
}

@media (max-width: 560px) {
  .case-image {
    height: 224px;
    padding: 10px;
  }

  .case-placeholder {
    min-height: 124px;
  }
}

.case-image .play-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--accent-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.case-image .play-btn:hover {
  transform: scale(1.1);
}

.case-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.case-content > p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.case-stats {
  display: flex;
  gap: 28px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.case-stat {
  text-align: center;
}

.case-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-2);
}

.case-stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ---- Team Section ---- */
.team-section {
  background: var(--bg-secondary);
}

.team-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background: rgba(79, 123, 241, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(79, 123, 241, 0.12);
  z-index: -1;
}

.team-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.team-card .desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}

.team-tag {
  font-size: 11px;
  padding: 3px 10px;
  background: rgba(79, 123, 241, 0.1);
  color: var(--accent-2);
  border-radius: 50px;
  border: 1px solid rgba(79, 123, 241, 0.15);
}

/* ---- FAQ ---- */
.faq-section {
  background: var(--bg-primary);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: faq;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  counter-increment: faq;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.active {
  border-color: rgba(79, 123, 241, 0.25);
  box-shadow: 0 12px 30px rgba(79, 123, 241, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  gap: 18px;
  letter-spacing: 0;
}

.faq-question::before {
  content: counter(faq, decimal-leading-zero);
  width: 42px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  transition: color var(--transition-base), transform var(--transition-base);
}

.faq-question > span:first-child {
  flex: 1;
}

.faq-item.active .faq-question::before,
.faq-question:hover::before {
  color: var(--accent-2);
}

.faq-item.active .faq-question::before {
  transform: translateX(2px);
}

.faq-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  position: relative;
  background: transparent;
  border: 1px solid rgba(79, 123, 241, 0.14);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  transition: all var(--transition-base);
  color: var(--text-secondary);
  box-shadow: none;
}

.faq-icon::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transition-base);
}

.faq-question:hover .faq-icon {
  background: #edf3ff;
  border-color: rgba(79, 123, 241, 0.24);
  color: var(--accent-2);
  transform: translateY(-1px);
}

.faq-item.active .faq-icon {
  background: #edf3ff;
  color: var(--accent-2);
  border-color: rgba(79, 123, 241, 0.28);
  box-shadow: 0 8px 18px rgba(79, 123, 241, 0.12);
}

.faq-item.active .faq-icon::before {
  transform: translateY(2px) rotate(225deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .faq-question {
    padding: 20px 18px;
    gap: 12px;
  }

  .faq-question::before {
    width: 30px;
    font-size: 12px;
  }

  .faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .faq-answer-inner {
    padding: 0 18px 20px 60px;
  }

}

/* ---- CTA ---- */
.cta-section {
  padding: 88px 24px 104px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(79, 123, 241, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-section .hp-hero-title-accent {
  line-height: 1.12;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 640px) {
  .cta-section {
    padding: 72px 20px 84px;
  }

}

/* ---- Footer ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 72px 24px 0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(360px, 460px) repeat(3, minmax(120px, 168px));
  justify-content: space-between;
  column-gap: clamp(56px, 6vw, 112px);
  row-gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-size: 22px;
  margin-bottom: 16px;
  display: inline-block;
}

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

.footer-column h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 13px;
  width: 100%;
}

.footer-bottom p a {
  color: var(--text-tertiary);
  text-decoration: none;
  margin-left: 10px;
  transition: color var(--transition-fast);
}

.footer-bottom p a:hover {
  color: var(--accent-2);
}

/* ---- Page Header (sub-pages) ---- */
.page-header {
  padding: 140px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 123, 241, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  position: relative;
  color: var(--text-primary);
}

.page-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.contact-page-header {
  padding: 118px 24px 34px;
}

.contact-page-header::before {
  width: 460px;
  height: 460px;
}

.contact-page-header h1 {
  font-size: clamp(44px, 4.6vw, 64px);
  margin-bottom: 14px;
}

/* ---- About Hero ---- */
.about-hero {
  position: relative;
  overflow: visible;
  padding: 0 0 72px;
  background: #f3f5f8;
}

.about-hero-stage {
  position: relative;
  width: 100%;
  height: clamp(470px, 30vw, 560px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #dfe8fb;
  box-shadow: none;
  isolation: isolate;
}

.about-hero-main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(270deg, rgba(4, 9, 18, 0.34) 0%, rgba(4, 9, 18, 0.16) 14%, rgba(4, 9, 18, 0) 32%),
    linear-gradient(90deg, rgba(4, 9, 18, 0.76) 0%, rgba(4, 9, 18, 0.56) 36%, rgba(4, 9, 18, 0.20) 70%, rgba(4, 9, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(4, 9, 18, 0.06) 36%, rgba(4, 9, 18, 0.28) 100%);
  pointer-events: none;
}

.about-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: min(1040px, calc(100% - 160px));
  text-align: center;
}

.about-hero-content h1 {
  display: inline-block;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 4vw, 60px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.14;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.34);
}

.about-hero-title-dot {
  margin: 0 0.07em;
  color: #f28a21;
  font-weight: 800;
}

.about-hero-en {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.3;
}

.about-hero-en span {
  color: #2f72ef;
}

.about-hero-intro {
  max-width: 680px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 560;
  letter-spacing: 0.05em;
  line-height: 1.55;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.3);
}

.about-hero-more {
  display: inline-grid;
  grid-template-columns: auto 44px;
  min-width: 146px;
  min-height: 46px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 0;
  background: rgba(8, 17, 32, 0.18);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.about-hero-more span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-hero-more span:first-child {
  padding: 0 22px;
}

.about-hero-more span:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 25px;
  font-weight: 300;
}

.about-hero-more:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(79, 123, 241, 0.72);
  transform: translateY(-2px);
}

.about-hero-more:active {
  transform: translateY(1px);
}

.about-hero-more:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.about-hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 52px;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: #dce9ff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.about-hero-nav-icon {
  display: block;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  font-size: 0;
  filter: drop-shadow(0 2px 6px rgba(35, 103, 255, 0.52));
}

@keyframes about-nav-prev-loop {
  0%, 100% { opacity: 0.58; transform: translateX(3px) rotate(45deg); }
  48% { opacity: 1; transform: translateX(-2px) rotate(45deg); }
  68% { opacity: 0; transform: translateX(-7px) rotate(45deg); }
  69% { opacity: 0; transform: translateX(7px) rotate(45deg); }
}

@keyframes about-nav-next-loop {
  0%, 100% { opacity: 0.58; transform: translateX(-3px) rotate(225deg); }
  48% { opacity: 1; transform: translateX(2px) rotate(225deg); }
  68% { opacity: 0; transform: translateX(7px) rotate(225deg); }
  69% { opacity: 0; transform: translateX(-7px) rotate(225deg); }
}

.about-hero-nav--prev .about-hero-nav-icon {
  animation: about-nav-prev-loop 2.4s ease-in-out infinite;
}

.about-hero-nav--next .about-hero-nav-icon {
  animation: about-nav-next-loop 2.4s ease-in-out infinite;
}

.about-hero-nav--prev {
  left: clamp(24px, 5vw, 90px);
}

.about-hero-nav--next {
  right: clamp(24px, 5vw, 90px);
}

.about-hero-nav:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.about-hero-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.about-hero-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.about-hero-dots {
  bottom: 28px;
  z-index: 4;
}

.about-method-grid {
  display: grid;
  position: relative;
  z-index: 4;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: min(1180px, calc(100% - 64px));
  margin: -52px auto 0;
}

.about-method-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 252px;
  padding: 36px 34px 32px;
  border: 1px solid rgba(79, 123, 241, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(61, 91, 148, 0.08);
  text-align: left;
}

.about-method-card::before {
  content: attr(data-step);
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 0;
  color: rgba(79, 123, 241, 0.06);
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.about-method-heading,
.about-method-card p {
  position: relative;
  z-index: 1;
}

.about-method-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  margin-bottom: 28px;
  padding-bottom: 15px;
}

.about-method-heading::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: #2f72ef;
}

.about-method-card h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
}

.about-method-card p {
  max-width: none;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.85;
}

.about-method-icon {
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  background: transparent;
  object-fit: contain;
}

/* ---- About Page ---- */
.about-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 88px 24px 96px;
}

.about-business-showcase {
  margin-bottom: 0;
  padding-top: 0;
}

.about-business-head {
  max-width: 1120px;
  margin: 0 auto 42px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(79, 123, 241, 0.16);
}

.about-business-head .about-section-label {
  position: relative;
  padding-left: 38px;
}

.about-business-head .about-section-label::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 26px;
  height: 1px;
  background: var(--accent-2);
  content: "";
}

.about-business-head h2 {
  max-width: 880px;
  margin: 12px 0 12px;
  color: var(--text-primary);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

.about-business-title-break {
  display: none;
}

.about-business-head p {
  max-width: 720px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.about-business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 34px;
  max-width: 1120px;
  margin: 0 auto;
}

.about-business-item {
  min-width: 0;
}

.about-business-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 492 / 271;
  border-radius: 4px;
  background: #eaf0fb;
}

.about-business-media img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-business-media--industry img,
.about-business-media--live img,
.about-business-media--supply img {
  width: 390.25%;
}

.about-business-media--video img {
  width: 392.64%;
}

.about-business-media--industry img {
  top: -50.92%;
  left: -19.51%;
}

.about-business-media--live img {
  top: -207.38%;
  left: -19.51%;
}

.about-business-media--video img {
  top: -207.38%;
  left: -140.29%;
}

.about-business-media--supply img {
  top: -207.38%;
  left: -263.01%;
}

.about-business-media--brand {
  background: #fff;
}

.about-business-media--brand img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-business-media--offline-photo img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.about-business-item:hover .about-business-media img {
  transform: scale(1.018);
}

.about-business-copy {
  position: relative;
  max-width: 330px;
  margin: 0 auto;
  padding: 24px 10px 0;
  text-align: center;
}

.about-business-copy::before {
  display: block;
  width: 28px;
  height: 2px;
  margin: 0 auto 12px;
  background: var(--accent-2);
  content: "";
}

.about-business-copy h3 {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.about-business-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 100px;
}

.about-story {
  align-items: stretch;
}

.about-section-label {
  display: inline-flex;
  width: max-content;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}

.about-text h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.14;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid rgba(79, 123, 241, 0.14);
  border-radius: 18px;
  background: rgba(79, 123, 241, 0.14);
}

.about-principles div {
  min-width: 0;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.86);
}

.about-principles strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 22px;
  font-weight: 800;
}

.about-principles span {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

/* ---- About Carousel ---- */
.about-carousel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 460px;
  border: 1px solid rgba(79, 123, 241, 0.16);
  box-shadow: 0 22px 60px rgba(80, 111, 180, 0.12);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.carousel-dot.active {
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Timeline */
.timeline {
  width: min(1240px, 100%);
  margin: 12px auto 124px;
}

.timeline-head {
  display: grid;
  grid-template-columns: max-content minmax(0, 720px);
  justify-content: space-between;
  gap: clamp(48px, 6vw, 88px);
  align-items: end;
  margin-bottom: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(79, 123, 241, 0.16);
}

.timeline-heading {
  min-width: 0;
}

.timeline h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 44px;
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: 0;
}

.timeline-summary p {
  max-width: none;
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  white-space: nowrap;
}

.timeline-summary {
  text-align: right;
}

.timeline-range {
  display: block;
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.timeline-flow {
  position: relative;
  min-height: 630px;
}

.timeline-flow-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 560px;
  overflow: visible;
  pointer-events: none;
}

.timeline-flow-path,
.timeline-flow-ticks path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.timeline-flow-path--base {
  stroke: rgba(79, 123, 241, 0.18);
  stroke-width: 1.6;
}

.timeline-flow-path--accent {
  stroke: rgba(79, 123, 241, 0.58);
  stroke-width: 1.6;
  stroke-dasharray: 0.94 1;
  stroke-dashoffset: 0.94;
}

.timeline-flow.visible .timeline-flow-path--accent {
  animation: timeline-path-draw 1.25s 0.16s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.timeline-flow-ticks path {
  stroke: var(--accent-2);
  stroke-width: 3;
}

@keyframes timeline-path-draw {
  to { stroke-dashoffset: 0; }
}

.timeline-item {
  position: absolute;
  width: calc(25% - 28px);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.68s ease, transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-flow.visible .timeline-item {
  opacity: 1;
  transform: translateY(0);
}

.timeline-flow.visible .timeline-item:nth-of-type(1) { transition-delay: 0.12s; }
.timeline-flow.visible .timeline-item:nth-of-type(2) { transition-delay: 0.22s; }
.timeline-flow.visible .timeline-item:nth-of-type(3) { transition-delay: 0.32s; }
.timeline-flow.visible .timeline-item:nth-of-type(4) { transition-delay: 0.42s; }

.timeline-item--2023 {
  top: 42px;
  left: 0;
}

.timeline-item--2024 {
  top: 368px;
  left: 25%;
}

.timeline-item--2025 {
  top: 0;
  left: 50%;
}

.timeline-item--2026 {
  top: 296px;
  left: 75%;
}

.timeline-meta {
  min-width: 0;
}

.timeline-year {
  display: block;
  color: rgba(79, 123, 241, 0.12);
  font-size: clamp(76px, 7vw, 106px);
  font-weight: 820;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
  letter-spacing: 0;
  transition: color 0.35s ease, transform 0.35s ease;
}

.timeline-content {
  margin-top: 22px;
}

.timeline-content h3 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.timeline-index {
  position: relative;
  top: -7px;
  flex: 0 0 30px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}

.timeline-index::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 22px;
  width: 1px;
  height: 31px;
  background: rgba(79, 123, 241, 0.7);
  transform: rotate(32deg);
  transform-origin: top center;
}

.timeline-title-text {
  display: block;
  min-width: 0;
  padding-top: 9px;
}

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

.timeline-item:hover .timeline-year {
  color: rgba(79, 123, 241, 0.22);
  transform: translateX(6px);
}

.timeline-item:hover .timeline-content h3 {
  color: var(--accent-2);
}

@media (max-width: 1024px) {
  .about-business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero-stage {
    height: 500px;
  }

  .about-hero-content {
    width: min(900px, calc(100% - 96px));
  }

  .about-hero-nav--prev {
    left: 20px;
  }

  .about-hero-nav--next {
    right: 20px;
  }

  .about-method-grid {
    gap: 18px;
    width: calc(100% - 40px);
    margin-top: -44px;
  }

  .about-method-card {
    min-height: 238px;
    padding: 32px 26px 28px;
  }

  .about-method-heading {
    gap: 12px;
    margin-bottom: 24px;
  }

  .about-carousel {
    min-height: 390px;
  }

  .timeline {
    width: min(820px, 100%);
  }

  .timeline-head {
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
    gap: 42px;
  }

  .timeline-summary p {
    white-space: normal;
  }

  .timeline-summary {
    text-align: left;
  }

  .timeline-flow {
    min-height: 0;
    padding-left: 28px;
  }

  .timeline-flow::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 10px;
    left: 5px;
    width: 1px;
    background: rgba(79, 123, 241, 0.22);
  }

  .timeline-flow-line {
    display: none;
  }

  .timeline-item,
  .timeline-item--2023,
  .timeline-item--2024,
  .timeline-item--2025,
  .timeline-item--2026 {
    display: grid;
    position: relative;
    top: auto;
    left: auto;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
    width: 100%;
    padding: 0 0 48px 28px;
  }

  .timeline-item:last-child {
    padding-bottom: 0;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -28px;
    width: 12px;
    height: 3px;
    background: var(--accent-2);
  }

  .timeline-year {
    font-size: 72px;
  }

  .timeline-content {
    max-width: 560px;
    margin-top: 4px;
  }

  .timeline-content h3 {
    font-size: 20px;
  }

  .timeline-content p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 0 0 40px;
  }

  .about-hero-stage {
    height: 460px;
    min-height: 0;
  }

  .about-hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 9, 18, 0.68) 0%, rgba(4, 9, 18, 0.30) 100%),
      linear-gradient(180deg, rgba(4, 9, 18, 0.08) 18%, rgba(4, 9, 18, 0.70) 100%);
  }

  .about-hero-content {
    width: calc(100% - 56px);
  }

  .about-hero-content h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .about-hero-en {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .about-hero-intro {
    max-width: 330px;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
  }

  .about-hero-nav {
    display: none;
  }

  .about-hero-nav--prev {
    left: 6px;
  }

  .about-hero-nav--next {
    right: 6px;
  }

  .about-hero-dots {
    bottom: 18px;
  }

  .about-method-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: calc(100% - 32px);
    margin-top: -28px;
  }

  .about-method-card {
    min-height: 190px;
    padding: 28px 24px 26px;
    border-radius: 12px;
  }

  .about-method-card h2 {
    font-size: 19px;
  }

  .about-method-heading {
    min-height: 36px;
    margin-bottom: 22px;
    padding-bottom: 13px;
  }

  .about-method-card::before {
    top: 18px;
    right: 22px;
    font-size: 64px;
  }

  .about-method-card p {
    max-width: 360px;
    font-size: 13px;
    line-height: 1.75;
  }

  .about-method-icon {
    width: 25px;
    height: 25px;
  }

  .about-content {
    padding: 64px 20px 72px;
  }

  .about-business-showcase {
    margin-bottom: 0;
    padding-top: 0;
  }

  .about-business-head {
    margin-bottom: 30px;
    padding-bottom: 24px;
  }

  .about-business-head h2 {
    font-size: 30px;
  }

  .about-business-title-break {
    display: initial;
  }

  .about-business-head p {
    font-size: 15px;
  }

  .about-business-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-business-copy {
    max-width: 420px;
    padding-top: 20px;
  }

  .about-grid {
    margin-bottom: 72px;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .timeline {
    margin: 0 0 84px;
  }

  .timeline-head {
    display: block;
    margin-bottom: 44px;
    padding-bottom: 26px;
    text-align: left;
  }

  .timeline h2 {
    font-size: 30px;
  }

  .timeline-summary {
    margin-top: 24px;
  }

  .timeline-summary p {
    font-size: 17px;
    line-height: 1.7;
  }

  .timeline-range {
    margin: 0 0 14px;
  }

  .timeline-flow {
    padding-left: 18px;
  }

  .timeline-flow::before {
    left: 3px;
  }

  .timeline-item,
  .timeline-item--2023,
  .timeline-item--2024,
  .timeline-item--2025,
  .timeline-item--2026 {
    display: block;
    padding: 0 0 46px 22px;
  }

  .timeline-item::before {
    top: 13px;
    left: -22px;
    width: 9px;
  }

  .timeline-year {
    font-size: 56px;
  }

  .timeline-content {
    max-width: none;
    margin-top: 18px;
  }

  .timeline-content h3 {
    font-size: 18px;
  }

  .timeline-content p {
    font-size: 14px;
    line-height: 1.75;
  }
}

/* ---- Date Switcher ---- */
.date-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.date-arrow {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.date-arrow:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: #fff;
}

.date-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.date-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.date-tabs::-webkit-scrollbar {
  display: none;
}

.date-tab {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.date-tab:hover {
  color: #fff;
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.date-tab.active {
  background: var(--accent-2);
  color: #fff;
  border-color: transparent;
}

.date-tab .today-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 6px;
  border-radius: 50px;
  margin-left: 4px;
}

.date-heading {
  text-align: center;
  margin-bottom: 32px;
}

.date-heading span {
  font-size: 14px;
  color: var(--text-tertiary);
}

.date-heading .count {
  color: var(--accent-2);
  font-weight: 600;
}

/* ---- News Page ---- */
.news-filter {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #fff;
  border-color: var(--border-hover);
}

.filter-btn.active {
  background: var(--accent-2);
  color: #fff;
  border-color: transparent;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}

.tag-cloud a {
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.tag-cloud a:hover {
  color: var(--accent-2);
  border-color: rgba(79, 123, 241, 0.2);
  background: rgba(79, 123, 241, 0.08);
}

/* ---- Tool Page ---- */
.tool-hero {
  min-height: 100dvh;
  padding: 132px 24px 110px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 80px;
  background: #f7f9fd;
}

.tool-hero::before,
.tool-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.tool-hero::before {
  inset: -18px;
  z-index: -2;
  background: url('../images/qdbot-hero-background-clean.png') center / cover no-repeat;
  transform: scale(1.02);
  animation: tool-hero-bg-drift 16s ease-in-out infinite;
}

.tool-hero::after {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(247, 249, 253, 0.08) 0%, rgba(247, 249, 253, 0.08) 68%, var(--bg-primary) 100%),
    rgba(247, 249, 253, 0.08);
}

body.dark-mode .tool-hero::before {
  filter: brightness(0.28) saturate(1.28) contrast(1.12);
}

body.dark-mode .tool-hero::after {
  background:
    radial-gradient(circle at 50% 38%, rgba(79, 123, 241, 0.28) 0%, rgba(79, 123, 241, 0.1) 26%, rgba(79, 123, 241, 0) 52%),
    linear-gradient(180deg, rgba(6, 13, 28, 0.78) 0%, rgba(7, 16, 34, 0.64) 40%, rgba(5, 11, 24, 0.78) 74%, var(--bg-primary) 100%),
    rgba(5, 11, 23, 0.3);
}

body.dark-mode .tool-hero {
  background: #07111f;
}

body.dark-mode .tool-hero h1 {
  color: #f4f7ff;
  text-shadow: 0 16px 48px rgba(3, 8, 20, 0.34);
}

body.dark-mode .tool-hero-center > p,
body.dark-mode .tool-mac-status {
  color: #b8c6e5;
}

.tool-hero-center {
  width: min(720px, 100%);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fade-in-up 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tool-hero-mascot {
  width: 118px;
  height: 118px;
  margin-bottom: 22px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(79, 123, 241, 0.14));
}

.tool-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--text-primary);
}

.tool-hero-center > p {
  max-width: 620px;
  margin: 0 0 34px;
  color: var(--text-secondary);
  font-size: 21px;
  line-height: 1.6;
}

.tool-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.tool-windows-cta {
  position: relative;
  isolation: isolate;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px 13px 24px;
  border: 1px solid #2f5fd7;
  border-radius: 999px;
  background: #376ae7;
  color: #f8fbff;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(79, 123, 241, 0.22);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.tool-windows-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px 5px;
  border-radius: inherit;
  pointer-events: none;
  background: #4f7ff0;
  filter: blur(11px);
  opacity: 0.2;
  transform: scale(1.01);
  animation: tool-cta-aura 2.8s ease-in-out infinite;
}

.tool-windows-cta > * {
  position: relative;
  z-index: 1;
}

.tool-windows-cta:hover {
  background: #2f5fd7;
  box-shadow: 0 18px 38px rgba(79, 123, 241, 0.28);
  transform: translateY(-2px);
}

.tool-windows-cta:active {
  transform: translateY(0);
}

.tool-windows-cta strong {
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.tool-mobile-download-note {
  display: none;
}

.tool-cta-arrow {
  font-size: 17px;
  line-height: 1;
}

.tool-mac-status {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.tool-product-showcase {
  position: relative;
  z-index: 1;
  margin-top: -64px;
  padding: 0 24px 64px;
  background: linear-gradient(180deg, rgba(247, 249, 253, 0) 0%, var(--bg-primary) 96px, var(--bg-primary) 100%);
}

.tool-product-gallery {
  width: min(880px, 100%);
  margin: 0 auto;
}

.tool-product-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #f7f9fc;
  box-shadow: 0 36px 78px rgba(42, 52, 72, 0.17), 0 10px 28px rgba(42, 52, 72, 0.08);
  outline: none;
}

.tool-product-frame:focus-visible {
  box-shadow: 0 0 0 3px rgba(79, 123, 241, 0.24), 0 36px 78px rgba(42, 52, 72, 0.17), 0 10px 28px rgba(42, 52, 72, 0.08);
}

.tool-product-shot {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
}

.tool-product-shot.is-active {
  opacity: 1;
}

.tool-product-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.tool-product-canvas.is-ready {
  opacity: 1;
}

.tool-workspace-hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.tool-workspace-hotspot {
  position: absolute;
  top: var(--hotspot-top, 50%);
  left: 0.8%;
  width: 14.3%;
  height: 5.4%;
  min-height: 20px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.tool-workspace-hotspot:hover,
.tool-workspace-hotspot:focus-visible {
  border-color: rgba(113, 94, 255, 0.48);
  background: rgba(113, 94, 255, 0.09);
  box-shadow: inset 3px 0 0 #785fff;
  outline: none;
}

.tool-demo-cursor {
  position: absolute;
  top: 59%;
  left: 67%;
  z-index: 6;
  width: 25px;
  height: 31px;
  opacity: 0;
  pointer-events: none;
  background: url('../images/tool-capabilities/mouse-pointer.svg') top left / contain no-repeat;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.38));
  transform: translate(-2px, -2px);
  transition: left 0.62s cubic-bezier(0.22, 1, 0.36, 1), top 0.62s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.16s ease;
}

.tool-demo-cursor::before {
  content: none;
}

.tool-demo-cursor::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(113, 94, 255, 0.72);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.35);
}

.tool-demo-cursor.is-visible {
  opacity: 1;
}

.tool-demo-cursor.is-clicking::after {
  animation: tool-demo-click 0.42s ease-out;
}

.tool-workspace-player {
  display: grid;
  grid-template-columns: minmax(142px, auto) minmax(180px, 1fr) 36px;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  padding: 0 4px;
}

.tool-workspace-current {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.tool-workspace-current > span {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tool-workspace-current b {
  color: var(--accent-2);
  font-size: 14px;
}

.tool-workspace-current strong {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-workspace-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(26px, 1fr));
  gap: 6px;
}

.tool-workspace-tab {
  position: relative;
  height: 5px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background: rgba(79, 123, 241, 0.13);
  cursor: pointer;
}

.tool-workspace-tab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent-2);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.tool-workspace-tab:hover {
  background: rgba(79, 123, 241, 0.26);
}

.tool-workspace-tab.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.tool-product-gallery.is-playing .tool-workspace-tab.active::after {
  animation: tool-demo-progress 1.8s linear forwards;
}

.tool-workspace-tab:focus-visible {
  outline: 2px solid rgba(79, 123, 241, 0.42);
  outline-offset: 4px;
}

.tool-workspace-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(79, 123, 241, 0.16);
  border-radius: 50%;
  background: rgba(79, 123, 241, 0.07);
  color: var(--accent-2);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.tool-workspace-play:hover {
  background: rgba(79, 123, 241, 0.13);
  transform: scale(1.04);
}

.tool-workspace-play:focus-visible {
  outline: 2px solid rgba(79, 123, 241, 0.34);
  outline-offset: 2px;
}

.tool-workspace-play span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

body.dark-mode .tool-product-frame {
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.34);
}

body.dark-mode .tool-workspace-play {
  background: rgba(79, 123, 241, 0.12);
  border-color: rgba(132, 165, 255, 0.2);
}

@media (max-width: 760px) {
  .tool-product-showcase {
    margin-top: -46px;
    padding: 0 16px 58px;
  }

  .tool-product-frame {
    border-radius: 8px;
  }

  .tool-workspace-hotspot {
    min-height: 12px;
  }

  .tool-demo-cursor {
    width: 19px;
    height: 24px;
  }

  .tool-workspace-player {
    grid-template-columns: minmax(110px, auto) minmax(84px, 1fr) 34px;
    gap: 12px;
    margin-top: 14px;
    padding: 0;
  }

  .tool-workspace-current {
    gap: 7px;
  }

  .tool-workspace-current strong {
    font-size: 12px;
  }

  .tool-workspace-tabs {
    grid-template-columns: repeat(6, minmax(10px, 1fr));
    gap: 4px;
  }

  .tool-workspace-tab {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-demo-cursor,
  .tool-product-shot,
  .tool-workspace-tab,
  .tool-workspace-tab::after,
  .tool-workspace-play {
    transition: none;
    animation: none;
  }
}

@keyframes tool-demo-click {
  0% { opacity: 0; transform: scale(0.35); }
  35% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.35); }
}

@keyframes tool-demo-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes tool-hero-bg-drift {
  0%, 100% {
    transform: scale(1.02) translate3d(-4px, 0, 0);
  }
  50% {
    transform: scale(1.035) translate3d(7px, -4px, 0);
  }
}

@keyframes tool-cta-aura {
  0%, 100% {
    transform: scale(1.01);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.09);
    opacity: 0.52;
  }
}

@media (max-width: 980px) {
  .tool-hero {
    min-height: 100dvh;
    padding: 116px 24px 92px;
  }

  .tool-hero h1 {
    font-size: clamp(46px, 7.5vw, 56px);
  }

  .tool-product-showcase {
    margin-top: -50px;
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .tool-hero {
    min-height: 100dvh;
    padding: 104px 18px 76px;
  }

  .tool-hero::before {
    background-position: 56% center;
  }

  .tool-hero-mascot {
    width: 94px;
    height: 94px;
    margin-bottom: 18px;
  }

  .tool-hero h1 {
    margin-bottom: 16px;
    font-size: 44px;
  }

  .tool-hero-center > p {
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.65;
  }

  .tool-windows-cta {
    min-height: 52px;
    padding-inline: 21px;
  }

  .tool-desktop-download-cta {
    display: none;
  }

  .tool-mobile-download-note {
    width: min(100%, 310px);
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 13px 18px;
    border: 1px solid rgba(79, 123, 241, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--text-primary);
    text-align: center;
    box-shadow: 0 12px 28px rgba(58, 101, 178, 0.08);
  }

  .tool-mobile-download-note strong {
    font-size: 15px;
    line-height: 1.3;
  }

  .tool-mobile-download-note span {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.45;
  }

  .tool-product-showcase {
    margin-top: -38px;
    padding: 0 14px 64px;
  }

  .tool-product-frame {
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-hero::before,
  .tool-hero-center {
    animation: none;
  }

  .tool-windows-cta::before {
    animation: none;
  }

  .tool-hero::before {
    transform: scale(1.02);
  }
}

.tool-feature-copy-line {
  display: block;
}

.tool-capabilities-section {
  overflow: hidden;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.tool-capability-flow {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.tool-capability-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 3fr);
  align-items: center;
  min-height: 150px;
  padding: 28px 0;
}

.tool-capability-stage:nth-child(even) {
  background: rgba(79, 123, 241, 0.035);
  box-shadow: 0 0 0 100vmax rgba(79, 123, 241, 0.035);
  clip-path: inset(0 -100vmax);
}

.tool-capability-stage::before {
  content: attr(data-stage);
  position: absolute;
  left: 0;
  top: 50%;
  width: 128px;
  color: rgba(47, 114, 239, 0.16);
  font-size: clamp(58px, 5vw, 78px);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transform: translateY(-50%);
  pointer-events: none;
}

.tool-capability-stage-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 78px;
  padding: 0 18px 0 128px;
  text-align: left;
}

.tool-capability-stage-head h3 {
  margin: 0;
  color: var(--accent-2);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  transform: translateX(-0.5cm);
}

.tool-capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 36px;
  min-width: 0;
}

.tool-capability-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 8px 0;
  transition: transform var(--transition-fast);
}

.tool-capability-item:hover {
  transform: translateY(-2px);
}

.tool-capability-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 123, 241, 0.13);
  border-radius: 8px;
  background: rgba(79, 123, 241, 0.055);
}

.tool-capability-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tool-capability-item h4 {
  margin: 0 0 5px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

.tool-capability-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .tool-capability-stage {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .tool-capability-stage::before {
    width: 92px;
  }

  .tool-capability-stage-head {
    padding: 0 14px 0 92px;
  }

  .tool-capability-list {
    gap: 18px;
  }

  .tool-capability-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .tool-capability-icon {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 900px) {
  .tool-capability-stage {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 0;
  }

  .tool-capability-stage::before {
    top: 32px;
    transform: none;
  }

  .tool-capability-stage-head {
    min-height: 58px;
    padding: 0 100px;
  }

  .tool-capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .tool-feature-copy-line {
    display: inline;
  }

  .tool-capabilities-section {
    padding-top: 80px;
  }

  .tool-capabilities-section .section-header {
    padding: 0 18px;
    margin-bottom: 48px;
  }

  .tool-capability-flow {
    padding: 0 18px;
  }

  .tool-capability-stage {
    gap: 20px;
    padding: 30px 0;
  }

  .tool-capability-stage::before {
    top: 29px;
    width: 72px;
    font-size: 52px;
  }

  .tool-capability-stage-head {
    min-height: 52px;
    padding: 0 72px;
  }

  .tool-capability-stage-head h3 {
    font-size: 19px;
    transform: none;
  }

  .tool-capability-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tool-capability-item {
    padding: 7px 0;
  }
}

/* Steps */
.tool-quick-start-section {
  padding-bottom: 72px;
}

.tool-quick-start-section .section-header {
  margin-bottom: 64px;
}

.tool-quick-start-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.5fr);
  gap: 88px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.tool-quick-start-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
  padding: 20px 18px 24px;
  background: transparent;
  border-radius: 0;
}

.tool-install-scene {
  position: relative;
  width: 100%;
  height: 180px;
  margin-bottom: 22px;
  overflow: hidden;
}

.tool-install-scene::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 250px;
  height: 118px;
  background:
    radial-gradient(circle at 50% 40%, rgba(79, 123, 241, 0.12), rgba(79, 123, 241, 0.04) 52%, rgba(79, 123, 241, 0) 72%);
  border-radius: 50%;
  filter: blur(10px);
  transform: translateX(-50%);
}

.tool-scene-laptop {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 214px;
  transform: translateX(-50%);
}

.tool-scene-screen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 178px;
  height: 114px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 6px solid #fff;
  border-bottom-width: 7px;
  border-radius: 10px 10px 5px 5px;
  box-shadow: 0 18px 38px rgba(62, 112, 211, 0.13);
}

.tool-scene-screen::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(119, 159, 255, 0.12), transparent);
  transform: translateX(-220%);
  animation: tool-scene-scan 5.8s ease-in-out infinite;
}

.tool-scene-base {
  position: relative;
  width: 214px;
  height: 11px;
  margin-top: 2px;
  background: #dbe5f7;
  border-radius: 2px 2px 10px 10px;
  box-shadow: 0 10px 18px rgba(62, 112, 211, 0.09);
}

.tool-scene-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 46px;
  height: 3px;
  background: rgba(79, 123, 241, 0.16);
  border-radius: 0 0 4px 4px;
  transform: translateX(-50%);
}

.tool-scene-app {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  object-fit: contain;
  animation: tool-scene-app-float 3.8s ease-in-out infinite;
}

.tool-scene-pulse {
  position: absolute;
  z-index: 1;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(79, 123, 241, 0.2);
  border-radius: 50%;
  animation: tool-scene-pulse 3.8s ease-out infinite;
}

.tool-scene-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(79, 123, 241, 0.14);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(62, 112, 211, 0.12);
}

.tool-scene-chip img {
  width: 20px;
  height: 20px;
}

.tool-scene-chip-package {
  top: 22px;
  left: 7px;
  animation: tool-scene-chip-float 4.6s ease-in-out infinite;
}

.tool-scene-chip-database {
  top: 46px;
  right: 4px;
  animation: tool-scene-chip-float 4.9s ease-in-out -1.4s infinite;
}

.tool-scene-chip-shield {
  right: 28px;
  bottom: 8px;
  animation: tool-scene-chip-float 4.4s ease-in-out -2.3s infinite;
}

@keyframes tool-scene-app-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes tool-scene-chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes tool-scene-pulse {
  0% { opacity: 0.55; transform: scale(0.82); }
  65%, 100% { opacity: 0; transform: scale(1.28); }
}

@keyframes tool-scene-scan {
  0%, 24% { transform: translateX(-220%); }
  58%, 100% { transform: translateX(340%); }
}

.tool-quick-start-product {
  text-align: center;
}

.tool-quick-start-product strong,
.tool-quick-start-product span {
  display: block;
}

.tool-quick-start-product strong {
  color: var(--text-primary);
  font-size: 23px;
  line-height: 1.3;
}

.tool-quick-start-product span {
  margin-top: 8px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 600;
}

.tool-quick-start-visual p {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 33, 29, 0.08);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

body.dark-mode .tool-install-scene::before {
  background:
    radial-gradient(circle at 50% 40%, rgba(79, 123, 241, 0.22), rgba(79, 123, 241, 0.08) 52%, rgba(79, 123, 241, 0) 72%);
}

body.dark-mode .tool-quick-start-visual p {
  border-top-color: rgba(112, 155, 255, 0.14);
}

.steps-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-width: 0;
  padding: 26px 0;
  margin: 0;
}

.step-item + .step-item {
  border-top: 1px solid var(--border-subtle);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(79, 123, 241, 0.09);
  border-radius: 50%;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.step-item:hover .step-num {
  background: var(--accent-2);
  color: #fff;
}

.step-item h4 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.step-item p {
  max-width: none;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .tool-quick-start-section .section-header {
    margin-bottom: 52px;
  }

  .tool-quick-start-layout {
    grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.25fr);
    gap: 48px;
    padding: 0 28px;
  }

  .step-item p {
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .tool-quick-start-section .section-header {
    margin-bottom: 24px;
  }

  .tool-quick-start-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 620px;
    padding: 0 22px;
  }

  .tool-quick-start-visual {
    display: flex;
    min-height: 0;
    padding: 8px 24px 26px;
  }

  .tool-install-scene {
    height: 150px;
    margin-bottom: 16px;
  }

  .tool-scene-laptop {
    bottom: 2px;
    transform: translateX(-50%) scale(0.82);
    transform-origin: center bottom;
  }

  .tool-scene-chip-package {
    left: 8px;
  }

  .tool-scene-chip-database {
    right: 8px;
  }

  .tool-scene-chip-shield {
    right: 34px;
    bottom: 4px;
  }

  .tool-quick-start-visual strong {
    font-size: 18px;
  }

  .tool-quick-start-visual p {
    margin-top: 20px;
    padding-top: 16px;
  }

  .step-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
  }

  .step-num {
    width: 38px;
    height: 38px;
  }

  .step-item h4 {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-scene-app,
  .tool-scene-chip,
  .tool-scene-pulse,
  .tool-scene-screen::after {
    animation: none;
  }
}

/* Tool FAQ */
.tool-faq-section {
  padding-top: 72px;
}

.tool-faq-section .section-header {
  margin-bottom: 52px;
}

.tool-faq-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.tool-faq-cta {
  min-width: 150px;
}

@media (max-width: 700px) {
  .tool-quick-start-section {
    padding-bottom: 56px;
  }

  .tool-faq-section {
    padding-top: 56px;
  }

  .tool-faq-section .section-header {
    margin-bottom: 40px;
  }

  .tool-faq-cta-wrap {
    margin-top: 30px;
  }
}

/* ---- Cases Page ---- */
.cases-filter {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gallery-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  transition: all var(--transition-base);
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 18, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .play-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Founder Section
   ============================================ */
.founder-bg {
  background:
    radial-gradient(circle at 82% 18%, rgba(79, 123, 241, 0.1) 0%, rgba(79, 123, 241, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  position: relative;
  padding: 92px 24px 96px;
  overflow: hidden;
  color: var(--text-primary);
  border-top: 1px solid rgba(79, 123, 241, 0.08);
  border-bottom: 1px solid rgba(79, 123, 241, 0.08);
}

.founder-bg::before {
  content: '';
  position: absolute;
  top: 72px;
  right: 0;
  width: min(54vw, 620px);
  height: min(54vw, 620px);
  background-image: linear-gradient(rgba(79, 123, 241, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 123, 241, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  pointer-events: none;
}

.founder-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 123, 241, 0.22), transparent);
  pointer-events: none;
}

.founder-watermark {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(72px, 11vw, 152px);
  font-weight: 900;
  color: rgba(79, 123, 241, 0.045);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

.founder-root {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(42px, 6vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.founder-left {
  max-width: 820px;
}

.f-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.f-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}

.f-name {
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.04;
  color: var(--text-primary);
}

.f-eng {
  position: static;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
  color: rgba(79, 123, 241, 0.72);
  transform: none;
  white-space: nowrap;
}

.f-subtitle {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.f-divider {
  width: 100%;
  max-width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 123, 241, 0.26), rgba(79, 123, 241, 0));
  margin-bottom: 22px;
}

.f-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 760px;
  margin-bottom: 28px;
}

.f-achievements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 36px;
}

.f-ach-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 12px 14px;
  border: 1px solid rgba(79, 123, 241, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(79, 123, 241, 0.055);
  transition: all 0.3s ease;
}

.f-ach-item:hover {
  border-color: rgba(79, 123, 241, 0.28);
  background: #fff;
  transform: translateY(-2px);
}

.f-ach-icon {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(79, 123, 241, 0.1);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.f-sec-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.f-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-left: 0;
}

.f-timeline::before {
  content: none;
}

.f-tl-item {
  position: relative;
  min-width: 0;
  margin-bottom: 0;
  padding: 14px 16px 14px 34px;
  border: 1px solid rgba(79, 123, 241, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.f-tl-dot {
  position: absolute;
  left: 16px;
  top: 21px;
  width: 7px;
  height: 7px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(79, 123, 241, 0.1);
}

.f-tl-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.5;
}

.founder-right {
  position: relative;
  min-width: 0;
  order: -1;
}

.f-portrait-frame {
  position: relative;
  overflow: hidden;
  width: 214px;
  min-height: 252px;
  border: 1px solid rgba(79, 123, 241, 0.22);
  border-radius: 32px;
  background: #eef4ff;
  box-shadow: 0 24px 52px rgba(65, 102, 178, 0.12);
}

.f-portrait {
  width: 100%;
  height: 252px;
  object-fit: cover;
  object-position: 50% 24%;
  display: block;
  transform: scale(1.08);
  transform-origin: 50% 24%;
}

.f-portrait-card {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 16px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.f-portrait-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.f-portrait-card strong {
  display: block;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.55;
}

.f-stats-card {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 42px auto 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  background: transparent;
  border-top: 1px solid rgba(88, 121, 180, 0.14);
  border-radius: 0;
  padding: 28px 0 0;
  box-shadow: none;
}

.f-stat {
  flex: 1 1 0;
  text-align: left;
  min-width: 0;
}

.f-stat-num {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--accent-2);
  line-height: 1.1;
  margin-bottom: 6px;
}

.f-stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 400;
}

.f-stat-div {
  width: 1px;
  background: rgba(88, 121, 180, 0.14);
  align-self: stretch;
  margin: 4px 24px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .founder-root {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 36px;
  }

  .founder-right {
    max-width: 214px;
  }

  .f-achievements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .f-stats-card {
    flex-wrap: wrap;
    gap: 24px 0;
  }

  .f-stat {
    flex: 0 0 33.333%;
  }

  .f-stat-div {
    display: none;
  }
}

@media (max-width: 768px) {
  .founder-bg {
    padding: 64px 20px 72px;
  }

  .founder-root {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .founder-right {
    order: 0;
    max-width: 214px;
  }

  .f-eng {
    font-size: 22px;
  }

  .f-subtitle {
    letter-spacing: 0;
  }

  .f-desc {
    font-size: 16px;
  }

  .f-achievements {
    grid-template-columns: 1fr;
  }

  .f-timeline {
    grid-template-columns: 1fr;
  }

  .f-stats-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
  }

  .f-sec-title {
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  .f-stats-card {
    grid-template-columns: 1fr;
  }
}

/* ---- Contact Page ---- */
.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.contact-container-qr-only {
  max-width: 1200px;
  padding: 24px 24px 84px;
  grid-template-columns: 1fr;
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.contact-info-centered {
  text-align: center;
}

.contact-info > p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 36px;
}

.contact-info-centered > p {
  max-width: 680px;
  margin: 0 auto 36px;
}

.contact-module-panel {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.82)),
    var(--bg-card);
  border: 1px solid rgba(79, 123, 241, 0.13);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 46px rgba(48, 78, 142, 0.08);
}

.contact-module-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(79, 123, 241, 0.18), rgba(79, 123, 241, 0.02));
  pointer-events: none;
}

.contact-module-head {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.contact-module-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 6px 14px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  background: rgba(79, 123, 241, 0.09);
  border: 1px solid rgba(79, 123, 241, 0.16);
  border-radius: 999px;
}

.contact-module-head h2 {
  margin-bottom: 12px;
  color: var(--text-primary);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.16;
}

.contact-module-head p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.contact-method:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: rgba(79, 123, 241, 0.1);
  border: 1px solid rgba(79, 123, 241, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.contact-method-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-method-info p {
  color: var(--text-secondary);
  font-size: 14px;
}

.qr-code {
  text-align: center;
  padding: 28px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
  display: block;
}

.qr-code p {
  color: var(--text-secondary);
  font-size: 13px;
}

.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.contact-qr-card {
  display: flex;
  flex-direction: column;
  min-height: 382px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 255, 0.9)),
    var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(23, 33, 29, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.contact-qr-card:hover {
  border-color: var(--border-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 16px 34px rgba(48, 78, 142, 0.10);
  transform: translateY(-2px);
}

.contact-qr-card-primary {
  border-color: rgba(79, 123, 241, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94)),
    var(--bg-card);
}

.contact-qr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 0 2px 14px;
  border-bottom: 1px solid rgba(23, 33, 29, 0.07);
}

.contact-qr-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 10px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  background: rgba(79, 123, 241, 0.08);
  border: 1px solid rgba(79, 123, 241, 0.14);
  border-radius: 999px;
}

.contact-qr-card-head strong {
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.contact-qr-media {
  width: 188px;
  height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 26px auto 20px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(79, 123, 241, 0.12);
  border-radius: var(--radius-lg);
}

.contact-qr-media .qr-img {
  width: 176px;
  height: 176px;
  margin: 0;
}

.contact-qr-copy {
  text-align: center;
}

.contact-qr-copy h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.contact-qr-copy p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  min-height: 48px;
}

.contact-qr-foot {
  margin-top: auto;
  padding-top: 16px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid rgba(23, 33, 29, 0.07);
}

.qr-placeholder {
  width: 176px;
  height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: rgba(36, 48, 77, 0.62);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  background:
    linear-gradient(90deg, rgba(36, 48, 77, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(36, 48, 77, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 18px 18px;
  border: 1px dashed rgba(79, 123, 241, 0.38);
  border-radius: var(--radius-md);
}

/* Contact page: single-screen social contact layout. */
.contact-page-body {
  overflow-x: hidden;
}

.contact-screen {
  --contact-blue: #3478f6;
  --contact-blue-soft: #dce9ff;
  --contact-orange: #f28a21;
  --contact-ink: #142137;
  --contact-muted: #66748a;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(146px, calc(12vh + 38px), 170px) 24px 24px;
  background: url('../images/qdbot-hero-background-clean.png') center / cover no-repeat;
}

.contact-screen-header {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  text-align: center;
  animation: contact-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-screen-header h1 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  color: var(--contact-ink);
  font-size: clamp(44px, 4.2vw, 62px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.contact-screen-header h1 strong {
  color: var(--contact-blue);
  font: inherit;
}

.contact-screen-header h1 i {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 8px;
  margin-bottom: 0.12em;
  border-radius: 50%;
  background: var(--contact-orange);
  flex: 0 0 auto;
}

.contact-screen-header p {
  margin: 18px auto 0;
  color: var(--contact-muted);
  font-size: clamp(16px, 1.18vw, 19px);
  font-weight: 500;
  line-height: 1.55;
}

.contact-title-mark {
  display: none;
  width: 42px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--contact-blue) 0 58%, rgba(52, 120, 246, 0.22) 58% 100%);
}

.contact-channel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 48px));
  margin: clamp(34px, 5vh, 50px) auto 0;
  animation: contact-enter 0.72s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-channel {
  position: relative;
  min-width: 0;
  padding: 0 clamp(18px, 2vw, 32px);
  text-align: center;
}

.contact-channel:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: 0;
  width: 1px;
  height: calc(100% - 52px);
  background: rgba(80, 111, 162, 0.16);
}

.contact-channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 8px 28px rgba(73, 117, 202, 0.08), inset 0 0 24px rgba(255, 255, 255, 0.72);
}

.contact-channel-icon img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.contact-channel-icon--enterprise {
  border-color: #fff;
  background: #fff;
  box-shadow: none;
}

.contact-channel-icon--enterprise img {
  width: 46px;
  height: 46px;
  filter: none;
}

.contact-channel-icon--wechat {
  border-color: #2dc100;
  background: #2dc100;
  box-shadow: none;
}

.contact-channel-icon--wechat img {
  width: 48px;
  height: 48px;
}

.contact-channel-icon--douyin {
  border-color: #000;
  background: #000;
  box-shadow: none;
}

.contact-channel-icon.contact-channel-icon--douyin img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: center;
}

.contact-channel-icon--channels {
  background: rgba(255, 247, 238, 0.72);
}

.contact-channel-icon--channels img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
}

.contact-channel h2 {
  margin: 22px 0 0;
  color: var(--contact-ink);
  font-size: 23px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.3;
}

.contact-channel > p {
  min-height: 52px;
  margin: 12px 0 0;
  color: var(--contact-muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact-channel-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 146px;
  height: 146px;
  margin: 20px auto 0;
  padding: 11px;
  border: 1px solid rgba(116, 150, 211, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 8px 24px rgba(71, 107, 173, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.contact-channel-qr--active > img {
  display: block;
  width: 122px;
  height: 122px;
  box-sizing: border-box;
  padding: 5px;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.contact-channel-qr--placeholder {
  flex-direction: column;
  gap: 7px;
  color: rgba(90, 119, 173, 0.56);
}

.contact-channel-qr--placeholder img {
  width: 48px;
  height: 48px;
  opacity: 0.42;
  filter: invert(52%) sepia(27%) saturate(1164%) hue-rotate(184deg) brightness(106%) contrast(87%);
}

.contact-channel-qr--placeholder span {
  font-size: 12px;
  font-weight: 600;
}

.contact-support-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  width: min(1050px, calc(100% - 48px));
  margin: clamp(28px, 4vh, 42px) auto 0;
  animation: contact-enter 0.72s 0.16s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-support-item {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 82px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.contact-support-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-right: 18px;
  border-radius: 50%;
  background: rgba(222, 235, 255, 0.72);
}

.contact-support-icon img {
  width: 29px;
  height: 29px;
  filter: invert(43%) sepia(96%) saturate(2204%) hue-rotate(207deg) brightness(101%) contrast(93%);
}

.contact-support-item > span:last-child {
  min-width: 0;
  text-align: left;
}

.contact-support-item strong,
.contact-support-item small {
  display: block;
}

.contact-support-item strong {
  overflow: hidden;
  color: var(--contact-ink);
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-support-item small {
  margin-top: 7px;
  overflow: hidden;
  color: var(--contact-muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes contact-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.dark-mode .contact-screen {
  --contact-ink: #edf3ff;
  --contact-muted: rgba(196, 218, 255, 0.78);
  background:
    radial-gradient(circle at 50% 25%, rgba(79, 123, 241, 0.2) 0%, rgba(79, 123, 241, 0.08) 28%, rgba(79, 123, 241, 0) 52%),
    linear-gradient(180deg, #07111f 0%, #091832 45%, #07111f 100%);
}

body.dark-mode .contact-channel:not(:last-child)::after {
  background: rgba(112, 155, 255, 0.16);
}

body.dark-mode .contact-channel-icon,
body.dark-mode .contact-channel-qr,
body.dark-mode .contact-support-item {
  border-color: rgba(112, 155, 255, 0.18);
  background-color: rgba(18, 48, 94, 0.46);
  box-shadow: inset 0 1px 0 rgba(122, 167, 255, 0.12);
}

body.dark-mode .contact-channel-icon--channels {
  background-color: rgba(232, 241, 255, 0.92);
}

body.dark-mode .contact-channel-icon--wechat {
  border-color: #2dc100;
  background-color: #2dc100;
  box-shadow: none;
}

body.dark-mode .contact-channel-icon--enterprise {
  border-color: #fff;
  background-color: #fff;
  box-shadow: none;
}

body.dark-mode .contact-channel-icon--douyin {
  border-color: #000;
  background-color: #000;
  box-shadow: none;
}

body.dark-mode .contact-support-icon {
  background: rgba(47, 114, 239, 0.26);
}

@media (max-width: 1180px) and (min-width: 769px) {
  .contact-channel-grid {
    width: calc(100% - 32px);
  }

  .contact-channel {
    padding-inline: 16px;
  }

  .contact-channel-qr {
    width: 132px;
    height: 132px;
  }

  .contact-channel-qr--active > img {
    width: 110px;
    height: 110px;
  }

  .contact-support-strip {
    gap: 14px;
    width: calc(100% - 56px);
  }

  .contact-support-item {
    padding-inline: 16px;
  }
}

@media (max-height: 820px) and (min-width: 769px) {
  .contact-screen {
    padding-top: 130px;
  }

  .contact-screen-header h1 {
    font-size: 44px;
  }

  .contact-screen-header p {
    margin-top: 12px;
    font-size: 16px;
  }

  .contact-title-mark {
    margin-top: 12px;
  }

  .contact-channel-grid {
    margin-top: 24px;
  }

  .contact-channel-icon {
    width: 58px;
    height: 58px;
  }

  .contact-channel-icon img {
    width: 35px;
    height: 35px;
  }

  .contact-channel h2 {
    margin-top: 14px;
    font-size: 20px;
  }

  .contact-channel > p {
    min-height: 44px;
    margin-top: 7px;
    font-size: 13px;
  }

  .contact-channel-qr {
    width: 124px;
    height: 124px;
    margin-top: 12px;
  }

  .contact-channel-qr--active > img {
    width: 104px;
    height: 104px;
  }

  .contact-channel-qr--placeholder img {
    width: 40px;
    height: 40px;
  }

  .contact-support-strip {
    margin-top: 22px;
  }

  .contact-support-item {
    min-height: 68px;
  }

  .contact-support-icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 768px) {
  .contact-screen {
    padding: 128px 0 14px;
  }

  .contact-screen-header {
    padding-inline: 18px;
  }

  .contact-screen-header h1 {
    font-size: 38px;
  }

  .contact-screen-header p {
    max-width: 330px;
    margin-top: 12px;
    font-size: 14px;
  }

  .contact-title-mark {
    margin-top: 12px;
  }

  .contact-channel-grid {
    grid-auto-columns: minmax(238px, 76vw);
    grid-template-columns: none;
    grid-auto-flow: column;
    justify-content: start;
    width: 100%;
    margin-top: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .contact-channel-grid::-webkit-scrollbar,
  .contact-support-strip::-webkit-scrollbar {
    display: none;
  }

  .contact-channel {
    padding-inline: 24px;
    scroll-snap-align: center;
  }

  .contact-channel:not(:last-child)::after {
    top: 18px;
    height: calc(100% - 36px);
  }

  .contact-channel-icon {
    width: 56px;
    height: 56px;
  }

  .contact-channel-icon img {
    width: 34px;
    height: 34px;
  }

  .contact-channel h2 {
    margin-top: 12px;
    font-size: 20px;
  }

  .contact-channel > p {
    min-height: 42px;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.6;
  }

  .contact-channel-qr {
    width: 126px;
    height: 126px;
    margin-top: 10px;
  }

  .contact-channel-qr--active > img {
    width: 104px;
    height: 104px;
  }

  .contact-channel-qr--placeholder img {
    width: 38px;
    height: 38px;
  }

  .contact-support-strip {
    grid-auto-columns: minmax(248px, 72vw);
    grid-template-columns: none;
    grid-auto-flow: column;
    justify-content: start;
    gap: 12px;
    width: 100%;
    margin-top: 14px;
    padding-inline: 18px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .contact-support-item {
    min-height: 64px;
    padding: 8px 14px;
    scroll-snap-align: center;
  }

  .contact-support-icon {
    width: 42px;
    height: 42px;
    margin-right: 12px;
  }

  .contact-support-icon img {
    width: 24px;
    height: 24px;
  }

  .contact-support-item strong {
    font-size: 14px;
  }

  .contact-support-item small {
    margin-top: 4px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-screen-header,
  .contact-channel-grid,
  .contact-support-strip {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---- Consult QR Popup (Navbar) ---- */
.consult-wrapper {
  position: relative;
  display: inline-flex;
}

.consult-qr-popup {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.consult-qr-popup img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.consult-qr-popup span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.consult-wrapper:hover .consult-qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 小三角箭头 */
.consult-qr-popup::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 40px;
  width: 12px;
  height: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-right: none;
  border-bottom: none;
  transform: rotate(45deg);
}

.contact-form {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  padding: 40px;
  border-radius: var(--radius-xl);
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 18px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(79, 123, 241, 0.15);
  background: var(--bg-primary);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.service-hours {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.service-hours h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent-2);
}

.service-hours p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

/* ---- Mobile Menu ---- */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 66px;
  height: 36px;
  background: rgba(47, 114, 239, 0.08);
  border: 1px solid rgba(87, 139, 255, 0.2);
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  padding: 0 9px;
  border-radius: 10px;
  box-shadow: none;
}

.mobile-menu-btn::before {
  content: '菜单';
  color: currentColor;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
}

.mobile-menu-btn.active::before {
  content: '收起';
}

.mobile-menu-btn.active {
  background: rgba(47, 114, 239, 0.12);
  border-color: rgba(102, 154, 255, 0.3);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--nav-bg, rgba(7, 21, 18, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 8px;
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-menu a:hover {
  background: var(--bg-card);
  color: var(--accent-2);
}

/* ---- News Page - extended grid ---- */
.news-grid-extended {
  max-width: 1280px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

/* ---- Quick Links ---- */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.quick-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  font-size: 14px;
}

.quick-link-card:hover {
  color: #fff;
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.quick-link-card .icon {
  font-size: 20px;
}

/* ---- Section Alt Background ---- */
.section-alt {
  background: var(--bg-secondary);
}

/* ---- Daily Brief Styles (News Page) ---- */
.brief-header {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.brief-header::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.brief-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.brief-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brief-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(79, 123, 241, 0.1);
  border: 1px solid rgba(79, 123, 241, 0.18);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-2);
}

.brief-live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: glow-pulse 2s ease-in-out infinite;
}

.brief-period {
  background: var(--accent-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.brief-date {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.brief-header h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.brief-subtitle {
  font-size: 14px;
  color: var(--text-tertiary);
}

/* ---- Daily News List Cards ---- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.news-list-item {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.news-list-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.news-list-inner {
  display: flex;
  gap: 16px;
}

.news-list-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.news-list-num {
  width: 30px;
  height: 30px;
  background: var(--accent-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.news-list-line {
  width: 1px;
  flex: 1;
  background: var(--border-subtle);
  min-height: 30px;
}

.news-list-right {
  flex: 1;
  min-width: 0;
}

.news-list-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.news-list-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.news-list-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.news-list-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-primary);
}

.news-list-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.news-list-impact-tag {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(79, 123, 241, 0.1);
  color: #4f7bf1;
  border: 1px solid rgba(79, 123, 241, 0.18);
  white-space: nowrap;
}

.news-list-expand-icon {
  transition: transform 0.3s ease;
  color: var(--text-tertiary);
  font-size: 14px;
}

.news-list-item.expanded .news-list-expand-icon {
  transform: rotate(90deg);
}

.news-list-summary {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}

.news-list-impact {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
  opacity: 0;
  margin-top: 0;
}

.news-list-item.expanded .news-list-impact {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}

.news-list-impact-inner {
  background: rgba(79, 123, 241, 0.08);
  border: 1px solid rgba(79, 123, 241, 0.12);
  border-radius: 10px;
  padding: 14px 16px;
}

.news-list-impact-inner .impact-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 6px;
}

.news-list-impact-inner .impact-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.news-list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.news-list-date {
  font-size: 12px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-list-source {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ---- Multi-platform intelligence filters ---- */
.intel-sync-status {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.intel-filter-panel {
  margin: 18px 0 22px;
  padding: 18px 20px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.intel-filter-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.intel-filter-row + .intel-filter-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.intel-filter-label {
  padding-top: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
}

.intel-filter-panel .news-filter {
  justify-content: flex-start;
  margin: 0;
}

.intel-filter-panel .filter-btn {
  padding: 8px 15px;
  font-size: 12px;
}

.intel-filter-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 12px;
}

.intel-result-count {
  color: var(--accent-2);
  font-weight: 700;
  white-space: nowrap;
}

.news-list-title-copy {
  min-width: 0;
}

.news-list-kickers,
.home-news-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.platform-tag,
.content-type-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: #31589f;
  background: #eaf1ff;
  border: 1px solid rgba(79, 123, 241, 0.12);
}

.content-type-tag {
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border-color: var(--border-subtle);
}

.home-news-tags .news-tag {
  margin: 0;
}

.intel-empty-state {
  margin: 0 0 24px;
  padding: 40px 24px;
  text-align: center;
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.intel-empty-state strong,
.intel-empty-state span {
  display: block;
}

.intel-empty-state strong {
  margin-bottom: 8px;
  color: var(--text-primary);
}

.intel-empty-state span {
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ---- Hot product radar cards ---- */
.hot-product-card {
  border-color: rgba(245, 158, 11, 0.2);
}

.hot-product-card:hover {
  border-color: rgba(245, 158, 11, 0.38);
}

.hot-product-rank,
.hot-product-icon {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.hot-product-icon {
  color: #fff;
}

.hot-product-tag {
  color: #a34b00;
  background: #fff4df;
  border-color: rgba(245, 158, 11, 0.2);
}

.hot-product-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.hot-product-score strong {
  color: #e56b00;
  font-size: 24px;
  line-height: 1;
}

.hot-product-score span {
  margin-top: 4px;
  color: var(--text-tertiary);
  font-size: 10px;
}

.hot-product-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hot-product-metrics span {
  padding: 5px 9px;
  border-radius: 6px;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  font-size: 11px;
}

.hot-product-risk {
  margin-top: 8px;
  color: #b45309;
  font-size: 12px;
}

@media (max-width: 680px) {
  .intel-filter-panel {
    padding: 14px;
  }

  .intel-filter-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .intel-filter-label {
    padding-top: 0;
  }

  .intel-filter-panel .news-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .intel-filter-panel .news-filter::-webkit-scrollbar {
    display: none;
  }

  .intel-filter-panel .filter-btn {
    flex: 0 0 auto;
  }

  .intel-filter-summary {
    display: block;
  }

  .intel-filter-summary span:last-child {
    display: block;
    margin-top: 6px;
    line-height: 1.5;
  }

  .news-list-title-row {
    align-items: flex-start;
  }

  .news-list-meta {
    margin-top: 4px;
  }

  .news-list-impact-tag {
    display: none;
  }

  .hot-product-score {
    display: none;
  }
}

/* ---- Trend Card ---- */
.trend-card {
  background: rgba(79, 123, 241, 0.08);
  border: 1px solid rgba(79, 123, 241, 0.15);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}

.trend-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.trend-card-header svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.trend-card-header h3 {
  font-size: 17px;
  font-weight: 700;
}

.trend-card p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.92;
  position: relative;
  z-index: 1;
}

/* ---- Daily Footer Bar ---- */
.daily-footer {
  background: rgba(79, 123, 241, 0.06);
  border: 1px solid rgba(79, 123, 241, 0.1);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  justify-content: space-around;
}

.daily-footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.daily-footer-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ============================================
   HOMEPAGE - New Component Styles
   ============================================ */

/* ---- 1. Hero ---- */
.hp-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 132px 24px 88px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(231, 240, 255, 0.9) 0%, rgba(243, 247, 255, 0.92) 26%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(90deg, rgba(255, 255, 255, 0) 56%, rgba(247, 249, 255, 0.76) 74%, rgba(239, 244, 255, 0.86) 100%);
}

.hp-hero::before,
.hp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hp-hero::before {
  background:
    radial-gradient(circle at 2% 82%, rgba(79, 123, 241, 0.22) 0%, rgba(79, 123, 241, 0.13) 18%, rgba(79, 123, 241, 0.04) 38%, rgba(79, 123, 241, 0) 60%),
    radial-gradient(circle at 8% 55%, rgba(108, 154, 255, 0.18) 0%, rgba(108, 154, 255, 0.08) 24%, rgba(108, 154, 255, 0) 52%);
  z-index: 0;
}

.hp-hero::after {
  left: auto;
  width: 46%;
  background-image:
    linear-gradient(rgba(23, 33, 29, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 29, 0.048) 1px, transparent 1px);
  background-size: 42px 42px;
  background-position: top left;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.82) 18%, rgba(0, 0, 0, 0.92) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.82) 18%, rgba(0, 0, 0, 0.92) 100%);
  z-index: 0;
}

.hp-hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.hp-hero-left {
  text-align: left;
  max-width: 560px;
}

.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(79, 123, 241, 0.12);
  box-shadow: 0 10px 24px rgba(79, 123, 241, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: #44506c;
  margin-bottom: 24px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  animation: hp-badge-glow 4.8s ease-in-out infinite;
}

.hp-hero-badge::after {
  content: '';
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -26%;
  width: 18%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.42) 52%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
  animation: hp-badge-sheen 6.2s ease-in-out infinite;
}

.hp-hero-badge-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(128, 171, 255, 0.92) 0%, rgba(79, 123, 241, 0.98) 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
  animation: hp-badge-new-glow 2.8s ease-in-out infinite;
}

.hp-hero-left h1 {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hp-hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 560px;
}

.hp-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.hp-hero-note {
  font-size: 14px;
  color: var(--text-tertiary);
  max-width: 420px;
}

@keyframes hp-badge-glow {
  0%, 100% {
    box-shadow: 0 10px 24px rgba(79, 123, 241, 0.08);
    border-color: rgba(79, 123, 241, 0.12);
  }
  50% {
    box-shadow: 0 12px 26px rgba(79, 123, 241, 0.13);
    border-color: rgba(79, 123, 241, 0.18);
  }
}

@keyframes hp-badge-new-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(79, 123, 241, 0.16);
    filter: saturate(1) brightness(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(79, 123, 241, 0);
    filter: saturate(1.05) brightness(1.04);
  }
}

@keyframes hp-badge-sheen {
  0%, 78%, 100% {
    left: -26%;
    opacity: 0;
  }
  82% {
    opacity: 0.12;
  }
  88% {
    opacity: 0.28;
  }
  94% {
    left: 106%;
    opacity: 0;
  }
}

/* ---- Abstract Geometric Decor Blocks (background layer) ---- */
.hp-hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hp-decor {
  position: absolute;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.72) 26%, rgba(214, 229, 255, 0.44) 62%, rgba(190, 212, 255, 0.24) 100%),
    linear-gradient(145deg, rgba(140, 183, 255, 0.32) 0%, rgba(108, 154, 255, 0.18) 46%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(121, 167, 255, 0.16);
  box-shadow: 0 14px 34px rgba(42, 71, 134, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: hp-decor-bounce 11s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.hp-decor--1 {
  width: 86px;
  height: 86px;
  left: 4.5%;
  top: 18%;
  border-radius: 6px;
  opacity: 0.96;
  transform: rotate(-7deg) translate3d(0, 0, 0);
  animation-delay: 0s;
}

.hp-decor--2 {
  width: 72px;
  height: 72px;
  left: 12%;
  top: 33%;
  border-radius: 4px;
  opacity: 0.84;
  transform: rotate(8deg) translate3d(0, 0, 0);
  animation-delay: 1.6s;
}

.hp-decor--3 {
  width: 76px;
  height: 76px;
  left: 3%;
  top: 49%;
  border-radius: 4px;
  opacity: 0.74;
  transform: rotate(-10deg) translate3d(0, 0, 0);
  animation-delay: 2.8s;
}

.hp-decor--4 {
  width: 98px;
  height: 68px;
  left: 7%;
  top: 74%;
  border-radius: 6px;
  opacity: 0.64;
  transform: rotate(5deg) translate3d(0, 0, 0);
  animation-delay: 4.2s;
}

.hp-hero-right {
  position: relative;
  min-height: 560px;
  transform: translateX(42px);
}

.hp-hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1800px;
  perspective-origin: 78% 48%;
}

.hp-hero-tag {
  position: absolute;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(104, 170, 255, 0.96) 0%, rgba(79, 123, 241, 0.98) 100%);
  box-shadow: 0 14px 30px rgba(45, 83, 173, 0.22);
  color: #f8fbff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.hp-hero-tag--1 {
  top: 98px;
  left: 84px;
  transform: rotate(-8deg);
}

.hp-hero-tag--2 {
  top: 168px;
  left: 38px;
  transform: rotate(-12deg);
}

.hp-hero-tag--3 {
  top: 408px;
  right: 34px;
  transform: rotate(5deg);
}

.hp-hero-pie {
  position: absolute;
  top: 78px;
  right: 58px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: conic-gradient(#88bdff 0 30%, #4f7bf1 30% 70%, #d9e7ff 70% 100%);
  box-shadow: 0 16px 40px rgba(52, 83, 156, 0.16);
}

.hp-hero-pie-ring,
.hp-hero-pie-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.hp-hero-pie-ring {
  inset: 10px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hp-hero-pie-core {
  inset: 27px;
  background: rgba(255, 255, 255, 0.92);
}

.hp-collision-group {
  position: absolute;
  top: 72px;
  right: 8px;
  width: 126px;
  height: 82px;
  z-index: 1;
  pointer-events: none;
}

.hp-collision-block {
  position: absolute;
  display: block;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.52) 0%, rgba(233, 241, 255, 0.22) 46%, rgba(201, 220, 255, 0.06) 78%, rgba(201, 220, 255, 0) 100%);
  transform-origin: center;
  will-change: transform, opacity;
}

.hp-collision-block--a {
  width: 58px;
  height: 58px;
  left: 12px;
  top: 10px;
  border-radius: 4px;
  opacity: 0.16;
  animation: hp-collision-a 6.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.hp-collision-block--b {
  width: 68px;
  height: 54px;
  right: 10px;
  top: 14px;
  border-radius: 5px;
  opacity: 0.11;
  animation: hp-collision-b 6.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes hp-decor-bounce {
  0%, 100% {
    translate: 0 0;
    rotate: 0deg;
  }
  18% {
    translate: 8px -10px;
    rotate: 1.6deg;
  }
  34% {
    translate: -6px 4px;
    rotate: -1.2deg;
  }
  52% {
    translate: 5px -7px;
    rotate: 0.8deg;
  }
  70% {
    translate: -4px 6px;
    rotate: -0.8deg;
  }
  86% {
    translate: 3px -3px;
    rotate: 0.4deg;
  }
}

@keyframes hp-collision-a {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(8deg) scale(1);
    opacity: 0.16;
  }
  20% {
    transform: translate3d(8px, 0, 0) rotate(7deg) scale(1);
  }
  34% {
    transform: translate3d(20px, 0, 0) rotate(5deg) scale(0.99);
    opacity: 0.19;
  }
  40% {
    transform: translate3d(28px, 0, 0) rotate(4deg) scale(0.95);
    opacity: 0.22;
  }
  46% {
    transform: translate3d(12px, 0, 0) rotate(7deg) scale(0.99);
  }
  60% {
    transform: translate3d(-8px, 0, 0) rotate(9deg) scale(1.01);
  }
  76% {
    transform: translate3d(0, 0, 0) rotate(8deg) scale(1);
  }
}

@keyframes hp-collision-b {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-7deg) scale(1);
    opacity: 0.11;
  }
  20% {
    transform: translate3d(-6px, 0, 0) rotate(-8deg) scale(1);
  }
  34% {
    transform: translate3d(-14px, 0, 0) rotate(-7deg) scale(1.02);
    opacity: 0.13;
  }
  40% {
    transform: translate3d(-24px, 0, 0) rotate(-6deg) scale(1.05);
    opacity: 0.16;
  }
  46% {
    transform: translate3d(-8px, 0, 0) rotate(-7deg) scale(1.01);
  }
  60% {
    transform: translate3d(10px, 0, 0) rotate(-9deg) scale(0.995);
  }
  76% {
    transform: translate3d(0, 0, 0) rotate(-8deg) scale(1);
  }
}

/* ---- 3. AI + Growth Overview ---- */
.hp-overview {
  padding-top: 56px;
  padding-bottom: 44px;
}

.hp-overview--qdbot {
  background:
    radial-gradient(circle at 12% 34%, rgba(74, 123, 255, 0.10) 0%, rgba(74, 123, 255, 0.05) 16%, rgba(74, 123, 255, 0) 32%),
    radial-gradient(circle at 18% 48%, rgba(139, 92, 246, 0.07) 0%, rgba(139, 92, 246, 0.03) 14%, rgba(139, 92, 246, 0) 30%),
    #f7faff;
}

.hp-qd-shell {
  max-width: 1170px;
  margin: 0 auto;
}

.hp-overview--qdbot .section-header {
  margin-bottom: 28px;
}

.hp-overview--qdbot .section-header h2 {
  margin-bottom: 20px;
}

.hp-overview--qdbot .section-header p {
  margin-top: 0;
}

.hp-qd-showcase {
  display: grid;
  grid-template-columns: minmax(0, 61%) minmax(0, 35%);
  column-gap: 24px;
  align-items: stretch;
}

.hp-qd-app-wrap {
  position: relative;
  padding-left: 10px;
  padding-right: 8px;
  perspective: 2200px;
}

.hp-qd-left-glow {
  position: absolute;
  left: -88px;
  top: 96px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(87, 132, 255, 0.20) 0%, rgba(87, 132, 255, 0.11) 35%, rgba(87, 132, 255, 0.04) 56%, rgba(87, 132, 255, 0) 72%);
  pointer-events: none;
}

.hp-qd-left-glow::before {
  content: '';
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px solid rgba(122, 157, 255, 0.14);
}

.hp-qd-left-glow::after {
  content: none;
}

.hp-qd-app {
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e6ecf7;
  border-radius: 22px;
  box-shadow:
    0 20px 42px rgba(107, 134, 202, 0.16),
    0 10px 22px rgba(131, 103, 240, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: none;
  transform-origin: left center;
  transform-style: preserve-3d;
  transform: rotateX(0.5deg) rotateY(4.6deg) rotateZ(-0.1deg);
  overflow: hidden;
}

.hp-qd-app::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 18%);
  pointer-events: none;
}

.hp-qd-app-top {
  display: flex;
  gap: 8px;
  padding: 18px 24px 12px;
  background: linear-gradient(180deg, rgba(249, 251, 255, 0.98) 0%, rgba(255, 255, 255, 0.84) 100%);
}

.hp-qd-app-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hp-qd-app-dot--red { background: #ff6d64; }
.hp-qd-app-dot--yellow { background: #ffc847; }
.hp-qd-app-dot--green { background: #38d96c; }

.hp-qd-app-body {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  min-height: 338px;
}

.hp-qd-app-sidebar {
  padding: 8px 11px 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 255, 0.98) 100%);
  border-right: 1px solid rgba(230, 236, 247, 0.94);
}

.hp-qd-app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 8px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
}

.hp-qd-app-brand-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.hp-qd-app-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hp-qd-app-nav--secondary {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(230, 236, 247, 0.94);
}

.hp-qd-app-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 8px;
  color: #677487;
  font-size: 10px;
  font-weight: 500;
}

.hp-qd-app-nav-item--active {
  background: linear-gradient(180deg, #2d7cff 0%, #196bf7 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(29, 124, 255, 0.18);
}

.hp-qd-app-nav-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: 0.9;
}

.hp-qd-app-nav-icon--chat::before,
.hp-qd-app-nav-icon--message::before,
.hp-qd-app-nav-icon--link::before,
.hp-qd-app-nav-icon--cube::before,
.hp-qd-app-nav-icon--chart::before,
.hp-qd-app-nav-icon--spark::before,
.hp-qd-app-nav-icon--store::before,
.hp-qd-app-nav-icon--headset::before,
.hp-qd-app-nav-icon--user::before,
.hp-qd-app-nav-icon--plugin::before,
.hp-qd-app-nav-icon--gear::before,
.hp-qd-app-nav-icon--shield::before {
  content: '';
  position: absolute;
}

.hp-qd-app-nav-icon--chat {
  border-radius: 4px 4px 4px 1px;
}

.hp-qd-app-nav-icon--chat::before {
  left: 2px;
  bottom: -3px;
  width: 4px;
  height: 4px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: skew(-16deg);
}

.hp-qd-app-nav-icon--message::before {
  left: 2px;
  top: 2px;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.hp-qd-app-nav-icon--link::before {
  left: 1px;
  top: 4px;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(-28deg);
}

.hp-qd-app-nav-icon--cube::before {
  inset: 2px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.hp-qd-app-nav-icon--chart::before {
  left: 2px;
  bottom: 2px;
  width: 7px;
  height: 6px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.hp-qd-app-nav-icon--spark::before {
  left: 4px;
  top: 1px;
  width: 2px;
  height: 8px;
  background: currentColor;
  box-shadow: -3px 3px 0 0 currentColor, 3px 3px 0 0 currentColor;
}

.hp-qd-app-nav-icon--store::before {
  left: 2px;
  top: 2px;
  width: 6px;
  height: 3px;
  border-bottom: 1.5px solid currentColor;
}

.hp-qd-app-nav-icon--headset::before {
  left: 2px;
  top: 2px;
  width: 6px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.hp-qd-app-nav-icon--user::before {
  left: 3px;
  top: 1px;
  width: 4px;
  height: 4px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.hp-qd-app-nav-icon--plugin::before {
  left: 2px;
  top: 2px;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.hp-qd-app-nav-icon--gear::before {
  left: 3px;
  top: 3px;
  width: 4px;
  height: 4px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.hp-qd-app-nav-icon--shield::before {
  left: 2px;
  top: 1px;
  width: 6px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 3px 3px 5px 5px;
}

.hp-qd-app-main {
  padding: 9px 13px 11px 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 253, 255, 0.96) 100%);
}

.hp-qd-app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 2px 8px;
}

.hp-qd-app-head h3 {
  margin: 0 0 4px;
  color: #101828;
  font-size: 17px;
  line-height: 1.2;
}

.hp-qd-app-head p {
  margin: 0;
  color: #98a2b3;
  font-size: 11px;
}

.hp-qd-app-head-actions {
  display: flex;
  gap: 8px;
}

.hp-qd-app-head-btn {
  height: 28px;
  padding: 0 12px;
  border: 1px solid #e6ecf7;
  border-radius: 8px;
  background: #fff;
  color: #475467;
  font-size: 11px;
  font-weight: 600;
}

.hp-qd-app-head-btn--primary {
  background: linear-gradient(180deg, #1d7cff 0%, #1677ff 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 16px rgba(29, 124, 255, 0.2);
}

.hp-qd-chatboard {
  min-height: 214px;
  padding: 11px 11px 12px;
  border: 1px solid #edf1f7;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 252, 255, 0.98) 100%);
}

.hp-qd-chatrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hp-qd-chatrow + .hp-qd-chatrow {
  margin-top: 14px;
}

.hp-qd-chatrow--user {
  justify-content: flex-end;
}

.hp-qd-chat-avatar {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.hp-qd-chat-bubble {
  max-width: 290px;
  padding: 8px 12px;
  border: 1px solid #e8eef8;
  border-radius: 11px;
  background: #fff;
  color: #344054;
  font-size: 11px;
  line-height: 1.55;
  box-shadow: 0 8px 18px rgba(113, 145, 255, 0.06);
}

.hp-qd-chat-bubble--user {
  max-width: 188px;
  background: linear-gradient(180deg, #1d7cff 0%, #1677ff 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 24px rgba(29, 124, 255, 0.2);
}

.hp-qd-chat-user {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid #101828;
  border-radius: 50%;
  margin-top: 4px;
}

.hp-qd-chat-user::before,
.hp-qd-chat-user::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #101828;
}

.hp-qd-chat-user::before {
  top: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.hp-qd-chat-user::after {
  bottom: 2px;
  width: 8px;
  height: 4px;
  border-radius: 4px 4px 0 0;
}

.hp-qd-chat-report-wrap {
  max-width: 230px;
}

.hp-qd-chat-note {
  margin-bottom: 8px;
  color: #475467;
  font-size: 11px;
}

.hp-qd-chat-report {
  width: 164px;
  padding: 9px 11px;
  border: 1px solid #e7edf8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(113, 145, 255, 0.08);
}

.hp-qd-chat-report strong {
  display: block;
  margin-bottom: 8px;
  color: #1f2937;
  font-size: 11px;
  line-height: 1.45;
}

.hp-qd-chat-report ul {
  margin: 0;
  padding-left: 14px;
}

.hp-qd-chat-report li {
  margin-bottom: 5px;
  color: #344054;
  font-size: 10px;
  line-height: 1.45;
}

.hp-qd-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  padding: 7px 8px 7px 11px;
  border: 1px solid #e9eef8;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
}

.hp-qd-input span {
  color: #98a2b3;
  font-size: 10px;
}

.hp-qd-send {
  min-width: 56px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #1d7cff 0%, #1677ff 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(29, 124, 255, 0.18);
}

.hp-qd-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
  height: 100%;
  align-self: stretch;
}

.hp-qd-card {
  min-height: 0;
  height: 100%;
  padding: 14px 15px 14px;
  border: 1px solid #e7ecf5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(134, 156, 214, 0.08);
  backdrop-filter: blur(10px);
}

.hp-qd-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hp-qd-card-art {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #f2f7ff 0%, #ebf2ff 100%);
  border: 1px solid #e1ebff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hp-qd-card-art img {
  width: 24px;
  height: 24px;
  display: block;
}

.hp-qd-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 4px;
}

.hp-qd-card-head h4 {
  margin: 0;
  color: #111827;
  font-size: 12px;
  line-height: 1.35;
}

.hp-qd-card-tag {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: #2f6bff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.hp-qd-card > p {
  margin: 12px 0 0;
  color: #667085;
  font-size: 11px;
  line-height: 1.7;
}

.hp-qd-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 18px;
  margin-top: 24px;
  transform: translateY(1.5cm);
}

.hp-qd-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  height: 46px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transform: translateY(0);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.24s ease,
    background 0.24s ease,
    color 0.24s ease,
    box-shadow 0.24s ease;
  will-change: transform;
}

.hp-qd-btn:hover,
.hp-qd-btn:focus-visible {
  transform: translateY(-3px);
}

.hp-qd-btn:active {
  transform: translateY(-1px) scale(0.985);
}

.hp-qd-btn--primary {
  background: linear-gradient(180deg, #2a80ff 0%, #1677ff 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(29, 124, 255, 0.22);
}

.hp-qd-btn--primary:hover,
.hp-qd-btn--primary:focus-visible {
  background: linear-gradient(180deg, #247dff 0%, #0f70f5 100%);
}

.hp-qd-btn--secondary {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e6ecf7;
  color: #344054;
  box-shadow: 0 10px 20px rgba(126, 152, 214, 0.08);
}

.hp-qd-btn--secondary:hover,
.hp-qd-btn--secondary:focus-visible {
  color: #344054;
  border-color: #d8e4f5;
  background: rgba(255, 255, 255, 0.98);
}

.hp-qd-btn:focus-visible {
  outline: 3px solid rgba(44, 117, 244, 0.2);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hp-qd-btn {
    transition: none;
  }
}

/* ---- 2. Hero Spotlight ---- */
.hp-spotlight {
  padding: 0 24px 36px;
  margin-top: -72px;
  position: relative;
  z-index: 2;
}

.hp-spotlight-card {
  max-width: 1320px;
  margin: 0 auto;
  background: linear-gradient(135deg, #10211c 0%, #162c25 52%, #0f1d19 100%);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  min-height: 520px;
  box-shadow: 0 28px 80px rgba(9, 20, 16, 0.12);
}

.hp-spotlight-copy {
  padding: 64px 56px 56px;
  color: #f3f6f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hp-spotlight-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 123, 241, 0.12);
  color: #9dc0ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hp-spotlight-copy h2 {
  margin: 0 0 26px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1.8px;
  color: #f6f7f5;
}

.hp-spotlight-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
  max-width: 560px;
}

.hp-spotlight-metric {
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-spotlight-metric strong {
  display: block;
  margin-bottom: 8px;
  color: #f8fbf9;
  font-size: 16px;
  font-weight: 700;
}

.hp-spotlight-metric span {
  display: block;
  color: rgba(241, 246, 243, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.hp-spotlight-link {
  color: #9fc2ff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.hp-spotlight-link:hover {
  color: #c8dbff;
}

.hp-spotlight-visual {
  position: relative;
  background:
    radial-gradient(circle at 78% 22%, rgba(79, 123, 241, 0.18) 0%, rgba(79, 123, 241, 0.04) 28%, rgba(79, 123, 241, 0) 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

.hp-spotlight-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  perspective: 1800px;
  perspective-origin: 78% 50%;
}

.hp-dashboard-mini {
  position: absolute;
  z-index: 1;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.hp-dashboard-mini-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(244, 247, 245, 0.56);
  font-size: 11px;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.hp-dashboard-mini strong {
  display: block;
  color: #f8fbf9;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
}

.hp-dashboard-mini em {
  display: block;
  margin-top: 8px;
  color: rgba(244, 247, 245, 0.62);
  font-size: 11px;
  font-style: normal;
  line-height: 1.5;
}

.hp-dashboard-mini--trend {
  width: 196px;
  left: 74px;
  top: 118px;
  transform: rotateY(18deg) rotateX(5deg) rotate(-1deg);
}

.hp-dashboard-mini--alert {
  width: 214px;
  right: 26px;
  bottom: 94px;
  transform: rotateY(14deg) rotateX(4deg) rotate(2deg);
}

.hp-dashboard-mini-wave {
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: 16px;
  height: 38px;
}

.hp-dashboard-mini-wave span {
  display: block;
  flex: 1;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, rgba(130, 180, 255, 0.9) 0%, rgba(79, 123, 241, 0.34) 100%);
}

.hp-dashboard-mini-wave span:nth-child(1) { height: 16px; }
.hp-dashboard-mini-wave span:nth-child(2) { height: 24px; }
.hp-dashboard-mini-wave span:nth-child(3) { height: 34px; }

.hp-dashboard-panel {
  position: relative;
  z-index: 2;
  width: min(430px, calc(100% - 120px));
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 255, 0.94) 100%);
  border: 1px solid rgba(79, 123, 241, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 28px 72px rgba(68, 95, 155, 0.18);
  transform: rotateY(-20deg) rotateX(8deg) rotate(-2deg);
  transform-origin: 80% 50%;
}

.hp-dashboard-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0) 24%);
  pointer-events: none;
}

.hp-dashboard-top {
  height: 54px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(79, 123, 241, 0.1);
  background: rgba(255, 255, 255, 0.54);
}

.hp-dashboard-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-dashboard-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(79, 123, 241, 0.24);
}

.hp-dashboard-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 123, 241, 0.12);
  color: #4f7bf1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hp-dashboard-body {
  position: relative;
  z-index: 1;
  padding: 26px 24px 24px;
}

.hp-dashboard-main {
  margin-bottom: 22px;
}

.hp-dashboard-kicker {
  font-size: 12px;
  color: rgba(23, 33, 29, 0.62);
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.hp-dashboard-total {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -1.5px;
  font-weight: 800;
  color: #17211d;
  text-shadow: none;
  margin-bottom: 8px;
}

.hp-dashboard-change {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(79, 123, 241, 0.16);
  color: #4f7bf1;
  font-size: 12px;
  font-weight: 600;
}

.hp-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.hp-dashboard-stat {
  padding: 12px 12px 14px;
  border-radius: 16px;
  background: rgba(79, 123, 241, 0.045);
  border: 1px solid rgba(79, 123, 241, 0.08);
}

.hp-dashboard-stat span {
  display: block;
  margin-bottom: 8px;
  color: rgba(23, 33, 29, 0.54);
  font-size: 11px;
  line-height: 1.4;
}

.hp-dashboard-stat strong {
  color: #17211d;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.hp-dashboard-chart {
  border-radius: 18px;
  padding: 18px 16px 16px;
  background: rgba(79, 123, 241, 0.04);
  border: 1px solid rgba(79, 123, 241, 0.08);
}

.hp-dashboard-axis {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: rgba(23, 33, 29, 0.42);
  font-size: 10px;
}

.hp-dashboard-line {
  position: relative;
  height: 72px;
  margin-bottom: 16px;
}

.hp-dashboard-stroke {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(79, 123, 241, 0.14) 0%, rgba(79, 123, 241, 0) 100%);
  clip-path: polygon(0% 78%, 28% 64%, 54% 48%, 78% 30%, 100% 6%, 100% 100%, 0% 100%);
}

.hp-dashboard-stroke::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  border-top: 3px solid #79a7ff;
  clip-path: polygon(0% 78%, 28% 64%, 54% 48%, 78% 30%, 100% 6%);
}

.hp-dashboard-point {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8fb7ff;
  box-shadow: 0 0 0 6px rgba(143, 183, 255, 0.12);
}

.hp-dashboard-point--1 { left: 0; top: 54px; }
.hp-dashboard-point--2 { left: 28%; top: 44px; }
.hp-dashboard-point--3 { left: 54%; top: 32px; }
.hp-dashboard-point--4 { right: 0; top: 0; }

.hp-dashboard-bars {
  height: 74px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: end;
}

.hp-dashboard-bars span {
  display: block;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, rgba(130, 180, 255, 0.9) 0%, rgba(79, 123, 241, 0.34) 100%);
}

.hp-spotlight-chip {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(244, 247, 245, 0.88);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.hp-spotlight-chip--1 {
  top: 80px;
  right: 88px;
}

.hp-spotlight-growth {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(79, 123, 241, 0.16);
  box-shadow: 0 14px 36px rgba(66, 95, 157, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hp-spotlight-growth--1 {
  left: 34px;
  top: 286px;
}

.hp-spotlight-growth--2 {
  right: 54px;
  bottom: 194px;
}

.hp-spotlight-growth-label {
  color: rgba(23, 33, 29, 0.56);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.hp-spotlight-growth-value {
  color: #4f7bf1;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.hp-spotlight-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px 24px;
}

.hp-spotlight-track-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fb7ff;
  box-shadow: 0 0 0 6px rgba(143, 183, 255, 0.08);
}

.hp-spotlight-track-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(143, 183, 255, 0.46) 0%, rgba(143, 183, 255, 0.08) 100%);
}

.hp-overview-grid {
  max-width: 1120px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hp-overview-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 314px;
  padding: 18px 18px 22px;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.hp-overview-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hp-overview-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(79, 123, 241, 0.08);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.hp-overview-card h3 {
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 14px 0 10px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.hp-overview-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.hp-overview-visual {
  position: relative;
  z-index: 1;
  height: 146px;
  margin: 0 0 16px;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, rgba(79, 123, 241, 0.13), rgba(79, 123, 241, 0.04));
  border: 1px solid rgba(79, 123, 241, 0.08);
}

.hp-overview-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 26%);
  pointer-events: none;
}

.hp-overview-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hp-overview-visual--qdbot::before {
  content: 'Q.D';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border-radius: 22px;
  background: linear-gradient(145deg, #5f8eff, #3f68de);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(79, 123, 241, 0.28);
}

.hp-ov-chip {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
}

.hp-ov-orbit {
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(79, 123, 241, 0.2);
  border-radius: 999px;
}

.hp-ov-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #79a7ff;
  box-shadow: 0 0 0 6px rgba(79, 123, 241, 0.08);
}

.hp-ov-node--1 { left: 24%; top: 32%; }
.hp-ov-node--2 { right: 26%; top: 42%; }
.hp-ov-node--3 { left: 45%; bottom: 18%; }

.hp-overview-visual--copy span {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 12px;
  border-radius: 999px;
  background: rgba(79, 123, 241, 0.18);
}

.hp-overview-visual--copy span:nth-child(1) { top: 32px; right: 54px; }
.hp-overview-visual--copy span:nth-child(2) { top: 56px; right: 92px; background: rgba(79, 123, 241, 0.28); }
.hp-overview-visual--copy span:nth-child(3) { top: 80px; right: 38px; }

.hp-ov-ring {
  position: absolute;
  width: 78px;
  height: 78px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(79, 123, 241, 0.2);
  box-shadow: inset 0 0 0 18px rgba(79, 123, 241, 0.06);
}

.hp-ov-sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 2px;
  transform-origin: left center;
  transform: rotate(-28deg);
  background: linear-gradient(90deg, #4f7bf1, rgba(79, 123, 241, 0));
}

.hp-ov-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4f7bf1;
}

.hp-ov-dot--1 { left: 34%; top: 36%; }
.hp-ov-dot--2 { right: 30%; bottom: 28%; }

.hp-ov-bubble {
  position: absolute;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(79, 123, 241, 0.12);
  box-shadow: 0 12px 28px rgba(79, 123, 241, 0.09);
}

.hp-ov-bubble--1 { width: 96px; height: 34px; left: 24px; top: 26px; }
.hp-ov-bubble--2 { width: 126px; height: 38px; right: 22px; top: 48px; }
.hp-ov-bubble--3 { width: 72px; height: 28px; left: 54px; bottom: 18px; }

.hp-overview-visual--ad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 10px;
  padding: 28px;
}

.hp-overview-visual--ad span {
  display: block;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #8fb7ff, rgba(79, 123, 241, 0.28));
}

.hp-overview-visual--ad span:nth-child(1) { height: 34%; }
.hp-overview-visual--ad span:nth-child(2) { height: 52%; }
.hp-overview-visual--ad span:nth-child(3) { height: 70%; }
.hp-overview-visual--ad span:nth-child(4) { height: 92%; }

.hp-ov-store-top {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 22px;
  height: 28px;
  border-radius: 999px;
  background: rgba(79, 123, 241, 0.14);
}

.hp-ov-store-card {
  position: absolute;
  top: 66px;
  width: 68px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(79, 123, 241, 0.12);
}

.hp-ov-store-card--1 { left: 28px; }
.hp-ov-store-card--2 { right: 28px; }

.hp-overview-platforms {
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(79, 123, 241, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 20%, rgba(79, 123, 241, 0.1) 0%, rgba(79, 123, 241, 0) 34%),
    rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.hp-overview-platforms p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.hp-overview-platforms-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  flex-wrap: wrap;
}

.hp-overview-platform-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 128px;
  object-fit: contain;
}

/* ---- 3. Featured Cases ---- */
.hp-cases {
  padding-top: 80px;
  padding-bottom: 100px;
}

.hp-case-proof {
  max-width: 1080px;
  margin: 10px auto 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(79, 123, 241, 0.12);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(53, 81, 143, 0.08);
  overflow: hidden;
}

.hp-case-proof-item {
  position: relative;
  min-width: 0;
  min-height: 176px;
  padding: 28px 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.hp-case-proof-item + .hp-case-proof-item {
  border-left: 1px solid rgba(79, 123, 241, 0.11);
}

.hp-case-proof-meta {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hp-case-proof-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1.6px;
  color: var(--text-primary);
  line-height: 1;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.hp-case-proof-num span {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: inherit;
}

.hp-case-proof-item p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--text-tertiary);
  font-size: 14px;
  line-height: 1.45;
}

.hp-case-proof-item--accent .hp-case-proof-num {
  color: var(--accent-2);
}

.hp-case-proof-item--accent {
  background: linear-gradient(180deg, rgba(79, 123, 241, 0.09), rgba(79, 123, 241, 0.025));
}

.hp-case-proof-item--accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-2);
}

.hp-case-lead {
  max-width: 1080px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  gap: 44px;
  align-items: stretch;
}

.hp-case-lead-media {
  min-height: 0;
  aspect-ratio: 2.05 / 1;
  border-radius: 18px;
  overflow: hidden;
}

.hp-case-lead-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hp-case-lead-copy {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hp-case-lead-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(79, 123, 241, 0.08);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

.hp-case-lead-copy h3 {
  max-width: 13em;
  font-size: clamp(30px, 2.7vw, 36px);
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.hp-case-lead-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
}

.hp-case-grid {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 36px;
}

.hp-case-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(79, 123, 241, 0.34);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-case-grid.visible::before {
  transform: scaleX(1);
}

.hp-case-card {
  position: relative;
  min-width: 0;
  padding: 6px 34px 12px;
  background: transparent;
}

.hp-case-card + .hp-case-card::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: rgba(79, 123, 241, 0.22);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.55s 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-case-grid.visible .hp-case-card + .hp-case-card::before {
  transform: scaleY(1);
}

.hp-case-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.hp-case-card h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hp-case-result {
  margin-bottom: 18px;
}

.hp-case-val {
  display: block;
  width: max-content;
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 800;
  color: var(--accent-2);
  line-height: 1;
  letter-spacing: -1.6px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.hp-case-lbl {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.hp-case-method {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding-top: 14px;
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 650;
}

.hp-case-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(79, 123, 241, 0.22);
}

.hp-case-method--qdbot strong {
  font-weight: 800;
}

.hp-case-method--qdbot::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 56%;
  height: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-case-grid.visible .hp-case-method--qdbot::after {
  transform: scaleX(1);
}

.hp-case-card:hover .hp-case-val {
  color: #3f68de;
  transform: translateY(-2px);
}

.hp-case-actions {
  max-width: 1080px;
  margin: 20px auto 0;
  display: flex;
  justify-content: flex-end;
}

.hp-case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-2);
  text-decoration: none;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.hp-case-link:hover {
  color: #3f68de;
  gap: 12px;
}

.hp-case-link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 5px;
  border-radius: 4px;
}

/* ---- 4. Core Services ---- */
.hp-services {
  padding-top: 80px;
  padding-bottom: 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 78%, rgba(79, 123, 241, 0.055) 0%, rgba(79, 123, 241, 0) 31%),
    radial-gradient(circle at 94% 30%, rgba(79, 123, 241, 0.045) 0%, rgba(79, 123, 241, 0) 28%),
    var(--bg-secondary);
}

.hp-services > * {
  position: relative;
  z-index: 1;
}

.hp-services > .section-header {
  margin-bottom: 58px;
}

.hp-svc-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hp-svc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 318px;
  padding: 28px 26px 30px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.96));
  border: 1px solid rgba(79, 123, 241, 0.18);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 28px rgba(58, 101, 178, 0.055);
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.hp-svc-card:hover {
  border-color: rgba(79, 123, 241, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 34px rgba(58, 101, 178, 0.09);
  transform: translateY(-3px);
}

.hp-svc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(239, 245, 255, 0.98), rgba(230, 239, 255, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.hp-svc-icon img {
  width: 38px;
  height: 38px;
  display: block;
}

.hp-svc-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hp-svc-card ul {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  list-style: none;
  text-align: left;
}

.hp-svc-card li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  padding: 4px 0 4px 16px;
  position: relative;
}

.hp-svc-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0.58;
}

/* ---- 5. QDbot Featured Module ---- */
.hp-qd {
  padding-top: 80px;
  padding-bottom: 80px;
}

.hp-qd-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hp-qd-grid--merged {
  position: relative;
  margin-top: 0;
  max-width: 1088px;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.hp-qd-grid--merged::before {
  content: '';
  position: absolute;
  left: -120px;
  top: 92px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(112, 155, 255, 0.18) 0%, rgba(112, 155, 255, 0.08) 38%, rgba(112, 155, 255, 0.03) 58%, transparent 72%);
  filter: blur(1px);
  pointer-events: none;
}

.hp-qd-grid--merged::after {
  content: '';
  position: absolute;
  left: -36px;
  top: 196px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 18px rgba(130, 170, 255, 0.5);
  pointer-events: none;
}

/* QDbot Visual Mockup */
.hp-qd-mock {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(113, 145, 255, 0.14);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(127, 155, 230, 0.16), 0 4px 18px rgba(0, 0, 0, 0.03);
}

.hp-qd-grid--merged .hp-qd-visual {
  display: flex;
  align-items: center;
}

.hp-qd-grid--merged .hp-qd-mock {
  width: 100%;
  min-height: 402px;
}

body.dark-mode .hp-qd-mock {
  background: #0f1728;
  border-color: rgba(79, 123, 241, 0.18);
}

.hp-qd-mock-top {
  display: flex;
  gap: 6px;
  padding: 14px 18px 10px;
  background: linear-gradient(180deg, rgba(241, 245, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 100%);
  border-bottom: 1px solid rgba(113, 145, 255, 0.08);
}

body.dark-mode .hp-qd-mock-top {
  background: rgba(47, 114, 239, 0.055);
  border-color: rgba(112, 155, 255, 0.12);
}

.hp-qd-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4dfd9;
}

.hp-qd-mock-dot:nth-child(1) {
  background: #ff6b62;
}

.hp-qd-mock-dot:nth-child(2) {
  background: #ffbf48;
}

.hp-qd-mock-dot:nth-child(3) {
  background: #3ddc74;
}

.hp-qd-workbench {
  display: grid;
  grid-template-columns: 114px minmax(0, 1fr);
  min-height: 356px;
}

.hp-qd-sidebar {
  padding: 16px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border-right: 1px solid rgba(113, 145, 255, 0.08);
}

.hp-qd-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #283143;
  margin-bottom: 14px;
  padding: 0 4px;
}

.hp-qd-brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hp-qd-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hp-qd-nav + .hp-qd-nav {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(113, 145, 255, 0.08);
}

.hp-qd-nav-item {
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 10px;
  color: #5f6c83;
  line-height: 1.2;
}

.hp-qd-nav-item--active {
  background: linear-gradient(180deg, #2972ff 0%, #1d65f0 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(41, 114, 255, 0.2);
}

.hp-qd-nav--minor .hp-qd-nav-item {
  color: #7a8598;
}

.hp-qd-console {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(252, 253, 255, 0.92) 100%);
}

.hp-qd-console-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 2px 2px 14px;
}

.hp-qd-console-title {
  font-size: 16px;
  font-weight: 700;
  color: #20293b;
  margin-bottom: 3px;
}

.hp-qd-console-subtitle {
  font-size: 11px;
  color: #98a1b3;
}

.hp-qd-console-actions {
  display: flex;
  gap: 8px;
}

.hp-qd-console-btn {
  height: 28px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid rgba(113, 145, 255, 0.14);
  background: #fff;
  color: #536178;
  font-size: 11px;
  font-weight: 600;
}

.hp-qd-console-btn--primary {
  background: linear-gradient(180deg, #2f79ff 0%, #1f66f2 100%);
  border-color: transparent;
  color: #fff;
}

.hp-qd-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(113, 145, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 252, 255, 0.95) 100%);
}

.hp-qd-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hp-qd-message--user {
  justify-content: flex-end;
}

.hp-qd-message-avatar {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.hp-qd-user-avatar {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid #20293b;
  border-radius: 50%;
  position: relative;
  margin-top: 4px;
}

.hp-qd-user-avatar::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #20293b;
  transform: translateX(-50%);
}

.hp-qd-user-avatar::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 9px;
  height: 5px;
  border: 2px solid #20293b;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  transform: translateX(-50%);
}

.hp-qd-bubble {
  max-width: 66%;
  padding: 10px 14px;
  border: 1px solid rgba(113, 145, 255, 0.1);
  border-radius: 12px;
  background: #fff;
  color: #3f4a5d;
  font-size: 11px;
  line-height: 1.55;
  box-shadow: 0 6px 14px rgba(113, 145, 255, 0.05);
}

.hp-qd-bubble--user {
  background: linear-gradient(180deg, #2f79ff 0%, #1d67f2 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 18px rgba(47, 121, 255, 0.18);
}

.hp-qd-bubble--report {
  max-width: 360px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hp-qd-report-title {
  font-size: 11px;
  color: #4e5a70;
  margin-bottom: 8px;
}

.hp-qd-report-card {
  width: 160px;
  padding: 12px 14px;
  border: 1px solid rgba(113, 145, 255, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 18px rgba(113, 145, 255, 0.06);
}

.hp-qd-report-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  color: #2d3548;
}

.hp-qd-report-card ul {
  margin: 0;
  padding-left: 14px;
}

.hp-qd-report-card li {
  margin-bottom: 4px;
  font-size: 10px;
  color: #4e5a70;
}

.hp-qd-inputbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(113, 145, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #9aa4b6;
  font-size: 10px;
}

.hp-qd-send-btn {
  min-width: 56px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #2f79ff 0%, #1f66f2 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

/* QDbot Features */
.hp-qd-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: stretch;
}

.hp-qd-feat {
  display: flex;
  flex-direction: row;
  gap: 12px;
  min-height: 128px;
  padding: 14px 14px 13px;
  border-radius: 16px;
  border: 1px solid rgba(113, 145, 255, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(127, 155, 230, 0.08);
  transition: all var(--transition-fast);
}

.hp-qd-feat:hover {
  background: #fff;
  border-color: rgba(79, 123, 241, 0.2);
  box-shadow: 0 16px 30px rgba(127, 155, 230, 0.12);
  transform: translateY(-2px);
}

.hp-qd-feat-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #f8fbff 0%, #edf3ff 100%);
  border: 1px solid rgba(79, 123, 241, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hp-qd-feat-icon-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.hp-qd-feat-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hp-qd-feat-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.hp-qd-feat-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  margin-bottom: 7px;
  border-radius: 999px;
  background: rgba(79, 123, 241, 0.08);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.hp-qd-feat-text p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.hp-qd-cta {
  text-align: center;
  margin-top: 26px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hp-qd-cta .btn-primary,
.hp-qd-cta .btn-secondary {
  min-width: 148px;
  height: 46px;
  padding: 0 26px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.hp-qd-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(113, 145, 255, 0.12);
  box-shadow: 0 10px 20px rgba(127, 155, 230, 0.08);
}

/* ---- 6. Founder Light Endorsement ---- */
.hp-founder {
  padding: 84px 24px 78px;
}

.hp-founder-inner {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  padding: 12px 0;
}

.hp-founder-inner::before {
  content: "";
  position: absolute;
  left: 228px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(45, 114, 255, 0.28), transparent);
}

.hp-founder-avatar {
  position: relative;
  width: 172px;
  height: 196px;
  border-radius: 32px;
  overflow: hidden;
  background: #eef4ff;
  border: 1px solid rgba(79, 123, 241, 0.24);
  box-shadow: 0 24px 52px rgba(65, 102, 178, 0.12);
}

.hp-founder-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.66);
  pointer-events: none;
}

.hp-founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  transform: scale(1.08);
  transform-origin: 50% 24%;
  display: block;
}

.hp-founder-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-2);
}

.hp-founder-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hp-founder-info h3 {
  max-width: 660px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.hp-founder-role {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.hp-founder-role-item {
  display: inline;
}

.hp-founder-role-item + .hp-founder-role-item::before {
  content: " / ";
}

.hp-founder-desc {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hp-founder-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 760px;
  padding-top: 22px;
  margin-bottom: 22px;
  border-top: 1px solid rgba(88, 121, 180, 0.14);
}

.hp-founder-stat {
  position: relative;
  text-align: left;
}

.hp-founder-stat + .hp-founder-stat {
  padding-left: 24px;
}

.hp-founder-stat + .hp-founder-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: rgba(88, 121, 180, 0.14);
}

.hp-founder-stat strong {
  display: block;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  color: var(--accent-2);
  line-height: 1.1;
}

.hp-founder-stat span {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 6px;
  display: block;
}

.hp-founder-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.hp-founder-link:hover {
  color: #1d64f2;
  transform: translateX(4px);
}

/* ---- 7. Daily Brief Preview ---- */
.hp-brief {
  padding-top: 80px;
  padding-right: clamp(40px, 5vw, 96px);
  padding-bottom: 72px;
  padding-left: clamp(40px, 5vw, 96px);
}

.hp-brief > .section-header {
  max-width: 700px;
  margin-bottom: 58px;
}

.hp-brief .news-grid {
  width: 100%;
  max-width: 1160px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.hp-brief .news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hp-brief .news-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.hp-brief .home-news-tags {
  min-height: 22px;
}

.hp-brief .news-card h3 {
  display: -webkit-box;
  min-height: 75.6px;
  margin-bottom: 12px;
  overflow: hidden;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: -0.01em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hp-brief .news-card p {
  display: -webkit-box;
  min-height: 67.2px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hp-brief .news-date {
  margin-top: auto;
  padding-top: 16px;
}

.hp-brief-more {
  text-align: center;
  margin-top: 36px;
}

@media (max-width: 1024px) {
  .hp-brief {
    padding-right: 32px;
    padding-left: 32px;
  }

  .hp-brief .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hp-brief {
    padding: 68px 20px 60px;
  }

  .hp-brief > .section-header {
    margin-bottom: 36px;
  }

  .hp-brief .news-grid {
    grid-template-columns: 1fr;
  }

  .hp-brief .news-card h3,
  .hp-brief .news-card p {
    display: block;
    min-height: 0;
    overflow: visible;
  }
}

/* ---- Dark Mode tweaks for new components ---- */
body.dark-mode .hp-decor {
  background: linear-gradient(180deg, rgba(25, 43, 36, 0.92) 0%, rgba(18, 34, 28, 0.88) 100%);
  border-color: rgba(79, 123, 241, 0.14);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

body.dark-mode .hp-hero {
  background:
    linear-gradient(90deg, rgba(15, 33, 27, 0.72) 0%, rgba(13, 24, 20, 0.48) 26%, rgba(10, 23, 19, 0) 48%),
    linear-gradient(90deg, rgba(10, 23, 19, 0) 52%, rgba(10, 23, 19, 0.36) 72%, rgba(10, 23, 19, 0.5) 100%);
}

body.dark-mode .hp-hero::before {
  background:
    radial-gradient(circle at 2% 82%, rgba(79, 123, 241, 0.16) 0%, rgba(79, 123, 241, 0.09) 24%, rgba(79, 123, 241, 0) 58%),
    radial-gradient(circle at 8% 55%, rgba(138, 181, 255, 0.11) 0%, rgba(138, 181, 255, 0.05) 22%, rgba(138, 181, 255, 0) 50%);
}

body.dark-mode .hp-hero::after {
  background-image:
    linear-gradient(rgba(79, 123, 241, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 123, 241, 0.06) 1px, transparent 1px);
}

body.dark-mode .hp-hero-left::before {
  background: linear-gradient(180deg, rgba(112, 155, 255, 0.92), rgba(112, 155, 255, 0.2));
}

body.dark-mode .hp-hero-badge {
  color: #75a4ff;
  text-shadow: 0 0 18px rgba(64, 124, 255, 0.26);
}

body.dark-mode .hp-hero-left h1 {
  color: #f4f8ff;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

body.dark-mode .hp-hero-title-accent {
  color: #4f86ff;
  text-shadow: 0 0 24px rgba(79, 134, 255, 0.3);
}

body.dark-mode .hp-hero-title-accent::before {
  background: rgba(101, 151, 255, 0.82);
}

body.dark-mode .hp-hero-sub {
  color: rgba(224, 233, 248, 0.78);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

body.dark-mode .hp-overview-card {
  background: var(--bg-secondary);
  border-color: var(--border-subtle);
}

body.dark-mode .hp-case-card {
  background: transparent;
}

body.dark-mode .hp-case-shot {
  border-color: rgba(112, 155, 255, 0.2);
  background: rgba(20, 32, 54, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body.dark-mode .hp-services {
  background:
    radial-gradient(circle at 8% 78%, rgba(79, 123, 241, 0.11) 0%, rgba(79, 123, 241, 0) 31%),
    radial-gradient(circle at 94% 30%, rgba(79, 123, 241, 0.08) 0%, rgba(79, 123, 241, 0) 28%),
    var(--bg-secondary);
}

body.dark-mode .hp-svc-card {
  background: linear-gradient(180deg, rgba(20, 32, 54, 0.98), rgba(15, 25, 43, 0.98));
  border-color: rgba(112, 155, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(122, 167, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.12);
}

body.dark-mode .hp-svc-icon {
  background: linear-gradient(145deg, rgba(79, 123, 241, 0.18), rgba(79, 123, 241, 0.09));
  box-shadow: inset 0 1px 0 rgba(122, 167, 255, 0.08);
}

body.dark-mode .hp-qd-mock {
  background: #0f1728;
  border-color: rgba(79, 123, 241, 0.18);
}

body.dark-mode .hp-qd-grid--merged {
  background: transparent;
}

body.dark-mode .hp-qd-grid--merged::before {
  background:
    radial-gradient(circle at center, rgba(112, 155, 255, 0.2) 0%, rgba(112, 155, 255, 0.08) 40%, rgba(112, 155, 255, 0.03) 58%, transparent 72%);
}

body.dark-mode .hp-qd-mock-top {
  background: rgba(47, 114, 239, 0.055);
  border-color: rgba(112, 155, 255, 0.1);
}

body.dark-mode .hp-qd-mock-dot {
  background: #3d544a;
}

body.dark-mode .hp-qd-feat:hover {
  background: rgba(18, 31, 53, 0.92);
  border-color: rgba(79, 123, 241, 0.24);
}

body.dark-mode .hp-qd-feat-kicker {
  background: rgba(79, 123, 241, 0.18);
}

body.dark-mode .hp-qd-feat {
  background: rgba(47, 114, 239, 0.055);
  border-color: rgba(79, 123, 241, 0.12);
  box-shadow: none;
}

body.dark-mode .hp-qd-sidebar,
body.dark-mode .hp-qd-console {
  background: transparent;
}

body.dark-mode .hp-qd-brand,
body.dark-mode .hp-qd-console-title,
body.dark-mode .hp-qd-report-card strong {
  color: #e8edf9;
}

body.dark-mode .hp-qd-nav-item,
body.dark-mode .hp-qd-report-title,
body.dark-mode .hp-qd-report-card li,
body.dark-mode .hp-qd-bubble,
body.dark-mode .hp-qd-inputbar,
body.dark-mode .hp-qd-console-subtitle {
  color: #9aa8c4;
}

body.dark-mode .hp-qd-chat,
body.dark-mode .hp-qd-inputbar,
body.dark-mode .hp-qd-report-card,
body.dark-mode .hp-qd-bubble {
  background: rgba(47, 114, 239, 0.055);
  border-color: rgba(79, 123, 241, 0.12);
}

/* ---- Responsive: Homepage ---- */
@media (max-width: 1024px) {
  .hp-hero-grid {
    max-width: 760px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hp-hero-left h1 {
    font-size: 46px;
  }

  .hp-hero-left {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
  }

  .hp-hero-actions {
    justify-content: center;
  }

  .hp-hero-note {
    max-width: none;
  }

  .hp-hero-right {
    min-height: 470px;
    transform: translateX(12px);
  }

  .hp-hero-visual {
    min-height: 470px;
    perspective-origin: 58% 50%;
  }

  .hp-dashboard-panel {
    width: min(430px, calc(100% - 40px));
    transform: rotateY(-14deg) rotateX(6deg) rotate(-1.5deg);
  }

  .hp-hero-tag--1 {
    left: 110px;
    top: 44px;
  }

  .hp-hero-tag--2 {
    left: 38px;
    top: 112px;
  }

  .hp-hero-tag--3 {
    right: 46px;
    top: 334px;
  }

  .hp-hero-pie {
    top: 30px;
    right: 76px;
  }

  .hp-collision-group {
    top: 34px;
    right: 22px;
    width: 98px;
    height: 68px;
  }

  .hp-collision-block--a {
    width: 46px;
    height: 46px;
    left: 8px;
    top: 10px;
  }

  .hp-collision-block--b {
    width: 54px;
    height: 42px;
    right: 8px;
    top: 14px;
  }

  .hp-decor--3 {
    left: -2%;
  }

  .hp-case-grid {
    max-width: 1080px;
  }

  .hp-spotlight-card {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hp-spotlight-copy {
    padding: 52px 40px 24px;
  }

  .hp-spotlight-copy h2 {
    font-size: 42px;
  }

  .hp-spotlight-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .hp-spotlight-visual {
    min-height: 420px;
  }

  .hp-spotlight-stage {
    min-height: 420px;
    justify-content: center;
    padding: 44px 32px;
    perspective-origin: 50% 50%;
  }

  .hp-dashboard-panel {
    width: min(430px, calc(100% - 40px));
    transform: rotateY(-18deg) rotateX(6deg) rotate(-2deg);
  }

  .hp-spotlight-chip--1 {
    top: 28px;
    right: 34px;
  }

  .hp-spotlight-growth--1 {
    left: 44px;
    top: 84px;
  }

  .hp-spotlight-growth--2 {
    right: 40px;
    bottom: 78px;
  }

  .hp-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-overview-platforms {
    align-items: flex-start;
    flex-direction: column;
  }

  .hp-overview-platforms-row {
    justify-content: flex-start;
  }

  .hp-case-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-case-proof-item {
    border-left: 0 !important;
  }

  .hp-case-proof-item:nth-child(even) {
    border-left: 1px solid rgba(79, 123, 241, 0.11) !important;
  }

  .hp-case-proof-item:nth-child(n + 3) {
    border-top: 1px solid rgba(79, 123, 241, 0.11);
  }

  .hp-case-lead {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hp-case-lead-media {
    min-height: 0;
  }

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

  .hp-qd-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hp-qd-grid--merged {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hp-qd-grid--merged .hp-qd-mock {
    min-height: 380px;
  }

  .hp-qd-grid--merged::before {
    left: -40px;
    top: 84px;
    width: 200px;
    height: 200px;
  }

  .hp-qd-grid--merged::after {
    left: 12px;
    top: 176px;
  }

  .hp-qd-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-founder {
    padding: 70px 24px;
  }

  .hp-founder-inner {
    grid-template-columns: 164px minmax(0, 1fr);
    gap: 36px;
  }

  .hp-founder-inner::before {
    left: 194px;
  }

  .hp-founder-avatar {
    width: 154px;
    height: 176px;
  }

  .hp-founder-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
    column-gap: 26px;
  }

  .hp-founder-stat + .hp-founder-stat {
    padding-left: 0;
  }

  .hp-founder-stat + .hp-founder-stat::before {
    display: none;
  }

}

@media (max-width: 768px) {
  .hp-founder {
    padding: 58px 18px 64px;
  }

  .hp-founder-inner {
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 0 18px;
    max-width: 354px;
    padding: 0;
    text-align: left;
  }

  .hp-founder-inner::before {
    display: none;
  }

  .hp-founder-info {
    display: contents;
  }

  .hp-founder-avatar {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 124px;
    height: 148px;
    margin: 0;
    border-radius: 22px;
    border: 0;
    box-shadow: none;
  }

  .hp-founder-avatar::after {
    display: none;
  }

  .hp-founder-info h3 {
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: none;
    margin: 30px 0 14px;
    font-size: 26px;
    line-height: 1.28;
    letter-spacing: 0;
    text-align: left;
  }

  .hp-founder-info h3 .mobile-copy-line {
    display: block;
  }

  .hp-founder-kicker {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: start;
    margin: 0 0 10px;
    padding: 0;
    justify-content: flex-start;
  }

  .hp-founder-kicker::before {
    width: 16px;
  }

  .hp-founder-role {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 0;
    font-size: 13px;
    line-height: 1.62;
    text-align: left;
  }

  .hp-founder-role strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 19px;
    line-height: 1.25;
  }

  .hp-founder-role-separator {
    display: none;
  }

  .hp-founder-role-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .hp-founder-role-item {
    display: block;
    white-space: nowrap;
  }

  .hp-founder-role-item + .hp-founder-role-item::before {
    content: none;
  }

  .hp-founder-desc {
    grid-column: 1 / -1;
    grid-row: 4;
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.82;
    text-align: left;
  }

  .hp-founder-stats {
    grid-column: 1 / -1;
    grid-row: 5;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
    margin: 28px 0 22px;
    padding-top: 22px;
    border-top-color: rgba(79, 123, 241, 0.12);
    text-align: left;
  }

  .hp-founder-stat {
    padding: 0 18px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
  }

  .hp-founder-stat:nth-child(even) {
    border-left: 1px solid rgba(88, 121, 180, 0.14);
    padding: 0 0 0 18px;
  }

  .hp-founder-stat strong {
    font-size: 27px;
  }

  .hp-founder-link {
    grid-column: 1 / -1;
    grid-row: 6;
    justify-content: flex-start;
  }

  .hp-hero {
    padding: 100px 16px 60px;
    min-height: auto;
  }

  .hp-hero::after {
    width: 38%;
    background-size: 30px 30px;
  }

  .hp-hero-left h1 {
    font-size: 34px;
  }

  .hp-hero-sub {
    font-size: 15px;
  }

  .hp-hero-grid {
    gap: 28px;
  }

  /* Mobile: reduce decor blocks, keep only 2 */
  .hp-decor--2,
  .hp-decor--4 {
    display: none;
  }

  .hp-decor--1 {
    width: 44px;
    height: 44px;
    left: -10px;
    top: 14%;
  }

  .hp-decor--3 {
    width: 52px;
    height: 52px;
    left: auto;
    right: -12px;
    top: 58%;
  }

  .hp-hero-right,
  .hp-hero-visual {
    min-height: 320px;
  }

  .hp-hero-right {
    transform: none;
  }

  .hp-hero-tag {
    padding: 8px 12px;
    font-size: 11px;
    border-radius: 12px;
  }

  .hp-hero-tag--1 {
    left: 8px;
    top: 10px;
  }

  .hp-hero-tag--2 {
    left: 18px;
    top: 66px;
  }

  .hp-hero-tag--3 {
    right: 10px;
    top: 220px;
  }

  .hp-hero-pie {
    width: 60px;
    height: 60px;
    top: 8px;
    right: 16px;
  }

  .hp-collision-group {
    top: 8px;
    right: 64px;
    width: 74px;
    height: 50px;
  }

  .hp-collision-block--a {
    width: 34px;
    height: 34px;
    left: 6px;
    top: 8px;
  }

  .hp-collision-block--b {
    width: 40px;
    height: 30px;
    right: 4px;
    top: 10px;
  }

  .hp-hero-pie-ring {
    inset: 7px;
  }

  .hp-hero-pie-core {
    inset: 18px;
  }

  .hp-dashboard-panel {
    width: calc(100% - 18px);
    border-radius: 22px;
    transform: rotateY(-10deg) rotateX(3deg) rotate(-1deg);
    transform-origin: 72% 50%;
  }

  .hp-spotlight-growth--1 {
    left: 6px;
    top: 190px;
  }

  .hp-spotlight-growth--2 {
    right: 4px;
    bottom: 116px;
  }

  .hp-overview {
    padding-top: 24px;
  }

  .hp-spotlight {
    padding: 0 16px 28px;
    margin-top: -48px;
  }

  .hp-spotlight-card {
    border-radius: 22px;
  }

  .hp-spotlight-copy {
    padding: 34px 24px 20px;
  }

  .hp-spotlight-copy h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .hp-spotlight-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .hp-spotlight-metric {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .hp-spotlight-metric strong {
    font-size: 15px;
  }

  .hp-spotlight-visual,
  .hp-spotlight-stage {
    min-height: 280px;
  }

  .hp-dashboard-mini--trend {
    width: 170px;
    left: 18px;
    top: 44px;
  }

  .hp-dashboard-mini--alert {
    width: 174px;
    right: 14px;
    bottom: 32px;
  }

  .hp-dashboard-panel {
    width: calc(100% - 28px);
    border-radius: 22px;
    transform: rotateY(-12deg) rotateX(4deg) rotate(-1.4deg);
    transform-origin: 74% 50%;
  }

  .hp-dashboard-top {
    height: 46px;
    padding: 0 16px;
  }

  .hp-dashboard-body {
    padding: 18px 16px 16px;
  }

  .hp-dashboard-total {
    font-size: 30px;
  }

  .hp-dashboard-stats {
    grid-template-columns: 1fr;
  }

  .hp-spotlight-chip {
    font-size: 11px;
    padding: 8px 12px;
  }

  .hp-spotlight-chip--1 {
    top: 14px;
    right: 18px;
  }

  .hp-spotlight-growth {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .hp-spotlight-growth--1 {
    left: 16px;
    top: 20px;
  }

  .hp-spotlight-growth--2 {
    right: 16px;
    bottom: 60px;
  }

  .hp-spotlight-growth-value {
    font-size: 20px;
  }

  .hp-dashboard-mini {
    padding: 12px 14px;
    border-radius: 18px;
  }

  .hp-dashboard-mini--trend {
    width: 136px;
    left: 10px;
    top: 16px;
  }

  .hp-dashboard-mini--alert {
    width: 142px;
    right: 8px;
    bottom: 20px;
  }

  .hp-dashboard-mini strong {
    font-size: 15px;
  }

  .hp-overview-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hp-overview-platforms {
    padding: 16px;
  }

  .hp-overview-platforms p {
    white-space: normal;
  }

  .hp-overview-platforms-row {
    gap: 20px;
  }

  .hp-overview-platform-logo {
    height: 26px;
    max-width: 104px;
  }

  .hp-case-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 26px;
    border-radius: 18px;
  }

  .hp-case-proof-item {
    min-height: 152px;
    padding: 22px 18px 20px;
  }

  .hp-case-proof-meta {
    margin: 0 0 14px;
    font-size: 12px;
  }

  .hp-case-proof-num {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hp-case-proof-num span {
    font-size: 16px;
  }

  .hp-case-proof-item p {
    margin-top: 10px;
    font-size: 12px;
  }

  .hp-case-lead {
    gap: 24px;
  }

  .hp-case-lead-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .hp-case-lead-copy {
    padding: 0;
  }

  .hp-case-lead-copy h3 {
    font-size: 24px;
  }

  .hp-overview-card {
    min-height: 272px;
    padding: 20px;
  }

  .hp-overview-visual {
    height: 128px;
    margin-bottom: 16px;
  }

  .hp-overview-card h3 {
    font-size: 22px;
  }

  .hp-case-proof-num {
    font-size: 34px;
  }

  .hp-svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
  }

  .hp-svc-card {
    min-height: 0;
    padding: 20px 12px;
    text-align: center;
  }

  .hp-svc-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    border-radius: 12px;
  }

  .hp-svc-icon img {
    width: 30px;
    height: 30px;
  }

  .hp-svc-card h3 {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.35;
  }

  .hp-svc-card ul {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    text-align: left;
  }

  .hp-svc-card li {
    padding: 3px 0 3px 11px;
    font-size: 12px;
    line-height: 1.55;
  }

  .hp-svc-card li::before {
    top: 10px;
    width: 4px;
    height: 4px;
  }

  .hp-case-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding-top: 14px;
  }

  .hp-case-card {
    padding: 26px 0;
  }

  .hp-case-card + .hp-case-card::before {
    top: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
  }

  .hp-case-grid.visible .hp-case-card + .hp-case-card::before {
    transform: scaleX(1);
  }

  .hp-case-actions {
    margin-top: 8px;
  }

  .hp-qd-features {
    grid-template-columns: 1fr;
  }

  .hp-qd-feat {
    min-height: auto;
    padding: 14px;
  }

  .hp-qd-grid--merged {
    gap: 14px;
  }

  .hp-qd-grid--merged .hp-qd-mock {
    min-height: 320px;
  }

  .hp-qd-grid--merged::before,
  .hp-qd-grid--merged::after {
    display: none;
  }

  .hp-qd-workbench {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 320px;
  }

  .hp-qd-sidebar {
    padding: 12px 8px;
  }

  .hp-qd-brand {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .hp-qd-brand-logo {
    width: 20px;
    height: 20px;
  }

  .hp-qd-nav-item {
    padding: 6px 8px;
    font-size: 9px;
  }

  .hp-qd-console {
    padding: 12px 12px 10px;
  }

  .hp-qd-console-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hp-qd-console-actions {
    width: 100%;
  }

  .hp-qd-console-btn {
    flex: 1;
    min-width: 0;
  }

  .hp-qd-chat {
    padding: 10px;
    gap: 12px;
  }

  .hp-qd-bubble {
    max-width: 88%;
  }

  .hp-qd-report-card {
    width: 100%;
    max-width: 160px;
  }

  .hp-qd-cta {
    flex-direction: column;
    align-items: center;
  }

  .hp-case-val {
    font-size: 40px;
  }
}

/* ---- Dark Mode Overrides ---- */
body.dark-mode {
  --bg-primary: #07111f;
  --bg-secondary: #0b1a33;
  --bg-tertiary: #10264a;
  --bg-card: rgba(47, 114, 239, 0.09);
  --bg-card-hover: rgba(79, 123, 241, 0.14);
  --text-primary: #e8edf9;
  --text-secondary: #9aa8c4;
  --text-tertiary: #82a9e8;
  --border-subtle: rgba(112, 155, 255, 0.16);
  --border-hover: rgba(79, 123, 241, 0.28);
}

body.dark-mode .navbar {
  background: rgba(7, 17, 31, 0.94);
}

body.dark-mode .mobile-menu {
  background: rgba(7, 17, 31, 0.97);
}

body.dark-mode .tool-preview {
  background: #0b1220;
}

body.dark-mode .tool-preview::before {
  color: #82a9e8;
}

body.dark-mode .consult-qr-popup {
  background: rgba(15, 31, 26, 0.97);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

body.dark-mode .consult-qr-popup::before {
  background: rgba(15, 31, 26, 0.97);
}

body.dark-mode .contact-module-panel {
  background:
    linear-gradient(180deg, rgba(17, 26, 44, 0.96), rgba(13, 22, 38, 0.9)),
    var(--bg-card);
  border-color: rgba(122, 167, 255, 0.14);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

body.dark-mode .contact-module-label,
body.dark-mode .contact-qr-card-head span {
  background: rgba(122, 167, 255, 0.12);
  border-color: rgba(122, 167, 255, 0.2);
}

body.dark-mode .contact-qr-card {
  background:
    linear-gradient(180deg, rgba(22, 33, 58, 0.96), rgba(17, 26, 44, 0.92)),
    var(--bg-card);
  border-color: rgba(112, 155, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(122, 167, 255, 0.1);
}

body.dark-mode .contact-qr-card:hover,
body.dark-mode .contact-qr-card-primary {
  border-color: rgba(122, 167, 255, 0.24);
}

body.dark-mode .contact-qr-card-head,
body.dark-mode .contact-qr-foot {
  border-color: rgba(112, 155, 255, 0.14);
}

body.dark-mode .contact-qr-media {
  background: rgba(238, 244, 255, 0.92);
  border-color: rgba(122, 167, 255, 0.18);
}

body.dark-mode .qr-placeholder {
  color: rgba(17, 26, 44, 0.68);
  background:
    linear-gradient(90deg, rgba(17, 26, 44, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(17, 26, 44, 0.08) 1px, transparent 1px),
    #eef4ff;
  background-size: 18px 18px;
  border-color: rgba(79, 123, 241, 0.42);
}

body.dark-mode .carousel-dot {
  background: rgba(112, 155, 255, 0.3);
}

body.dark-mode .carousel-dot.active {
  background: #7aa7ff;
  box-shadow: 0 0 8px rgba(122, 167, 255, 0.28);
}

body.dark-mode .about-hero {
  background: #07111f;
}

body.dark-mode .about-hero-content h1,
body.dark-mode .about-hero-en {
  color: #eef4ff;
}

body.dark-mode .about-hero-intro {
  color: rgba(238, 244, 255, 0.72);
}

body.dark-mode .about-hero-more {
  border-color: rgba(238, 244, 255, 0.44);
  color: #eef4ff;
}

body.dark-mode .about-method-card {
  background: #0d203f;
  border-color: rgba(122, 167, 255, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

body.dark-mode .about-method-card h2,
body.dark-mode .about-business-head h2,
body.dark-mode .about-business-copy h3 {
  color: #eef4ff;
}

body.dark-mode .about-method-card p,
body.dark-mode .about-business-head p,
body.dark-mode .about-business-copy p {
  color: rgba(238, 244, 255, 0.72);
}

body.dark-mode .about-method-icon {
  background: transparent;
}

body.dark-mode .about-method-card::before {
  color: rgba(122, 167, 255, 0.10);
}

body.dark-mode .about-business-head {
  border-color: rgba(122, 167, 255, 0.16);
}

body.dark-mode .about-business-media {
  background: #10264a;
}

body.dark-mode .founder-bg {
  background:
    radial-gradient(circle at 82% 18%, rgba(79, 123, 241, 0.12) 0%, rgba(79, 123, 241, 0) 34%),
    linear-gradient(180deg, #07111f 0%, #0b1a33 100%);
  border-color: rgba(112, 155, 255, 0.12);
}

body.dark-mode .founder-watermark {
  color: rgba(122, 167, 255, 0.055);
}

body.dark-mode .f-name,
body.dark-mode .f-sec-title,
body.dark-mode .f-portrait-card strong {
  color: #eef4ff;
}

body.dark-mode .f-subtitle,
body.dark-mode .f-desc,
body.dark-mode .f-tl-title,
body.dark-mode .f-ach-item {
  color: rgba(238, 244, 255, 0.72);
}

body.dark-mode .f-ach-item {
  background: rgba(47, 114, 239, 0.06);
  border-color: rgba(112, 155, 255, 0.14);
  box-shadow: none;
}

body.dark-mode .f-tl-item {
  background: rgba(47, 114, 239, 0.06);
  border-color: rgba(112, 155, 255, 0.14);
}

body.dark-mode .f-ach-item:hover {
  background: rgba(79, 123, 241, 0.1);
  border-color: rgba(122, 167, 255, 0.28);
}

body.dark-mode .f-portrait-frame {
  background: #0d203f;
  border-color: rgba(122, 167, 255, 0.16);
}

body.dark-mode .f-stat-label {
  color: rgba(238, 244, 255, 0.56);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    column-gap: 48px;
  }

  .about-grid,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-qr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .contact-module-panel {
    padding: 26px;
  }

  .contact-qr-card {
    min-height: 374px;
    padding: 16px;
  }

  .contact-qr-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact-qr-media {
    width: 174px;
    height: 174px;
  }

  .contact-qr-media .qr-img,
  .qr-placeholder {
    width: 162px;
    height: 162px;
  }

  .learning-path::before {
    display: none;
  }

  .learning-path {
    flex-direction: column;
    gap: 32px;
    max-width: 400px;
    margin: 0 auto;
  }

  .path-step {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
  }

  .path-node {
    margin: 0;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-stats {
    gap: 32px;
  }

  .stat-number {
    font-size: 32px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2,
  .tool-content h2,
  .cta-section h2 {
    font-size: 30px;
  }

  .cta-section .hp-hero-title-accent {
    margin-inline: auto;
  }

  .page-header h1 {
    font-size: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 36px;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .timeline-list::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 12px;
    padding-left: 60px;
  }

  .timeline-item::before {
    left: 23px;
  }

  .timeline-year {
    text-align: left;
    min-width: unset;
  }

  .news-grid,
  .news-grid-extended,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-page-header {
    padding: 108px 20px 28px;
  }

  .contact-container-qr-only {
    padding: 20px 18px 68px;
  }

  .contact-module-panel {
    padding: 22px 18px;
    border-radius: var(--radius-lg);
  }

  .contact-module-head {
    margin-bottom: 22px;
  }

  .contact-module-head p {
    font-size: 15px;
    line-height: 1.75;
  }

  .contact-qr-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
    gap: 16px;
  }

  .contact-qr-card {
    min-height: auto;
    padding: 16px;
  }

  .contact-qr-card-head {
    flex-direction: row;
    align-items: center;
  }

  .contact-qr-copy p {
    min-height: auto;
  }
}

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

/* ---- Animations on scroll (controlled by JS) ---- */
.home-reveal-item {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--home-reveal-delay, 0ms),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--home-reveal-delay, 0ms);
}

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

.hp-qd-app-wrap.home-reveal-item {
  transform: translateY(42px) scale(0.985);
}

.hp-qd-app-wrap.home-reveal-item.home-reveal-visible {
  transform: translateY(0) scale(1);
}

.hp-qd-path.home-reveal-item {
  transform: translateX(34px);
}

.hp-qd-path.home-reveal-item.home-reveal-visible {
  transform: translateX(0);
}

.hp-founder-avatar.home-reveal-item {
  transform: translateX(-26px) translateY(14px) scale(0.98);
}

.hp-founder-avatar.home-reveal-item.home-reveal-visible {
  transform: translateX(0) translateY(0) scale(1);
}

.hp-founder-info .home-reveal-item {
  transform: translateY(22px);
}

.hp-founder-info .home-reveal-item.home-reveal-visible {
  transform: translateY(0);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* About page: calm, layered entrance on refresh. */
@keyframes about-stage-enter {
  from {
    opacity: 0.35;
    transform: scale(1.012);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes about-copy-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes about-opacity-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes about-card-enter {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-hero-stage {
  animation: about-stage-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-hero-content h1 {
  animation: about-copy-enter 0.72s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-hero-intro {
  animation: about-copy-enter 0.72s 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-hero-nav {
  animation: about-opacity-enter 0.6s 0.38s ease both;
}

.about-method-card {
  animation: about-card-enter 0.76s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-method-card:nth-child(1) {
  animation-delay: 0.3s;
}

.about-method-card:nth-child(2) {
  animation-delay: 0.4s;
}

.about-method-card:nth-child(3) {
  animation-delay: 0.5s;
}

.animate-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.animate-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.animate-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.animate-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.animate-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.animate-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.animate-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Count up numbers (target for JS) ---- */
.count-up {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .home-reveal-item,
  .animate-on-scroll,
  .animate-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hp-case-grid::before,
  .hp-case-card + .hp-case-card::before,
  .hp-case-method--qdbot::after {
    transform: none;
    transition: none;
  }

  .hp-case-val,
  .hp-case-link {
    transition: none;
  }

  .about-hero-stage,
  .about-hero-content h1,
  .about-hero-intro,
  .about-method-card {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .about-hero-nav {
    opacity: 1;
    transform: translateY(-50%);
    animation: none;
  }

  .about-hero-nav-icon {
    opacity: 1;
    animation: none !important;
  }

  .timeline-flow .timeline-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .timeline-flow-path--accent {
    stroke-dashoffset: 0;
    animation: none !important;
  }

  .about-hero-nav--prev .about-hero-nav-icon {
    transform: rotate(45deg);
  }

  .about-hero-nav--next .about-hero-nav-icon {
    transform: rotate(225deg);
  }
}

/* ============================================================
   E-commerce intelligence - editorial redesign v2
   ============================================================ */
.intel-page {
  min-height: 100vh;
  padding: 112px 24px 72px;
  background: #fff;
}

.intel-page-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.intel-shell-v2 {
  --intel-ink: #111827;
  --intel-muted: #697386;
  --intel-line: #e4e9f2;
  --intel-blue: #4f74e8;
  --intel-blue-soft: #eef3ff;
  --intel-orange: #f28a30;
  --intel-surface: #fff;
  color: var(--intel-ink);
}

.intel-shell-v2 [hidden] {
  display: none !important;
}

.intel-hero-v2 {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.52fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  min-height: 330px;
  padding: 26px 0 34px;
}

.intel-hero-intro h1 {
  margin: 0 0 18px;
  color: var(--intel-ink);
  font-size: clamp(40px, 4.1vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.intel-hero-intro > p {
  margin: 0;
  color: #59657a;
  font-size: 16px;
  line-height: 1.9;
}

.intel-update-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #7a8496;
  font-size: 12px;
}

.intel-update-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #2fbe78;
  box-shadow: 0 0 0 4px rgba(47, 190, 120, 0.1);
}

.intel-period {
  padding-left: 8px;
  border-left: 1px solid var(--intel-line);
}

.intel-date-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
}

.intel-date-switcher .date-tabs {
  display: flex;
  gap: 4px;
}

.intel-date-switcher .date-tab,
.intel-date-switcher .date-arrow {
  min-width: 0;
  height: 26px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #8a94a6;
  font-size: 11px;
  cursor: pointer;
}

.intel-date-switcher .date-tab:hover,
.intel-date-switcher .date-tab.active {
  background: var(--intel-blue-soft);
  color: var(--intel-blue);
}

.intel-date-switcher .date-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.intel-lead-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(280px, 1.28fr);
  min-height: 262px;
  overflow: hidden;
  border: 1px solid #dbe5fb;
  border-radius: 14px;
  background: #f6f8ff;
}

.intel-lead-visual {
  display: grid;
  place-items: center;
  min-height: 260px;
  background: linear-gradient(145deg, #edf3ff 0%, #dfe9ff 100%);
}

.intel-lead-visual svg {
  width: min(88%, 245px);
  height: auto;
}

.intel-lead-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 36px;
}

.intel-lead-kicker,
.news-list-kickers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.intel-lead-kicker > span:first-child {
  color: var(--intel-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.intel-lead-copy h2 {
  margin: 14px 0 12px;
  color: var(--intel-ink);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.intel-lead-copy > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.intel-lead-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 23px;
  color: #8a94a6;
  font-size: 12px;
}

.intel-lead-footer a,
.intel-row-meta a,
.intel-hot-source a {
  color: inherit;
  text-decoration: none;
}

.intel-lead-footer > a {
  color: var(--intel-blue);
  font-weight: 700;
}

.intel-filter-panel-v2 {
  margin: 0 0 28px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--intel-line);
  border-radius: 11px;
  background: var(--intel-surface);
  box-shadow: none;
}

.intel-filter-panel-v2 .intel-filter-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 9px 18px;
  border: 0;
  border-bottom: 1px solid var(--intel-line);
}

.intel-filter-panel-v2 .intel-filter-row:last-child {
  border-bottom: 0;
}

.intel-filter-panel-v2 .intel-filter-label {
  color: #697386;
  font-size: 13px;
  font-weight: 700;
}

.intel-filter-panel-v2 .news-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  min-width: 0;
  width: 100%;
  gap: 7px;
}

.intel-filter-panel-v2 .filter-btn {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #657086;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 160ms ease;
}

.intel-filter-panel-v2 .filter-btn:hover {
  color: var(--intel-blue);
  background: #f5f7fb;
}

.intel-filter-panel-v2 .filter-btn.active {
  color: #fff;
  background: var(--intel-blue);
  box-shadow: 0 5px 13px rgba(79, 116, 232, 0.18);
}

.intel-reset-btn {
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: #9aa3b2;
  font-size: 12px;
  cursor: pointer;
}

.intel-reset-btn:hover {
  color: var(--intel-blue);
}

.intel-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.intel-feed-panel,
.intel-hot-panel {
  overflow: hidden;
  border: 1px solid var(--intel-line);
  border-radius: 12px;
  background: var(--intel-surface);
}

.intel-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 61px;
  padding: 0 20px;
  border-bottom: 1px solid var(--intel-line);
}

.intel-panel-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.intel-panel-heading h2 {
  margin: 0;
  color: var(--intel-ink);
  font-size: 17px;
  letter-spacing: -0.01em;
}

.intel-panel-heading > span,
.intel-panel-heading .intel-result-count {
  color: #9aa3b2;
  font-size: 11px;
  font-weight: 500;
}

.intel-heading-mark {
  width: 3px;
  height: 16px;
  border-radius: 4px;
  background: var(--intel-blue);
}

.intel-heading-mark-hot {
  background: var(--intel-orange);
}

.intel-feed-list,
.intel-hot-list {
  margin: 0;
}

.intel-feed-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 118px;
  gap: 15px;
  align-items: start;
  margin: 0;
  padding: 22px 20px;
  border: 0;
  border-bottom: 1px solid var(--intel-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: background 160ms ease;
}

.intel-feed-row:last-child {
  border-bottom: 0;
}

.intel-feed-row:hover {
  transform: none;
  border-color: var(--intel-line);
  background: #fafbfe;
}

.intel-row-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  color: #3f5da9;
  font-size: 12px;
  font-weight: 800;
}

.platform-tag,
.content-type-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border: 1px solid #e1e7f1;
  border-radius: 5px;
  background: #f8f9fc;
  color: #778195;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.content-type-tag {
  border-color: #dce5fb;
  background: #f1f5ff;
  color: var(--intel-blue);
}

.intel-row-copy .news-list-title {
  display: block;
  margin: 8px 0 7px;
  color: var(--intel-ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.46;
}

.intel-row-copy .news-list-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #778195;
  font-size: 12px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.intel-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  color: #9aa3b2;
  font-size: 10px;
  line-height: 1.35;
  text-align: right;
}

.intel-row-meta a:hover,
.intel-hot-source a:hover {
  color: var(--intel-blue);
}

.intel-row-meta .news-list-expand-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-top: 7px;
  border: 1px solid var(--intel-line);
  border-radius: 7px;
  color: #9aa3b2;
  transform: rotate(0deg);
  transition: 180ms ease;
}

.intel-feed-row.expanded .news-list-expand-icon {
  color: var(--intel-blue);
  transform: rotate(90deg);
}

.intel-shell-v2 .news-list-impact {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  opacity: 0;
  transition: max-height 260ms ease, opacity 180ms ease, margin 180ms ease;
}

.intel-shell-v2 .news-list-item.expanded .news-list-impact {
  max-height: 430px;
  margin-top: 14px;
  opacity: 1;
}

.intel-shell-v2 .news-list-impact-inner {
  padding: 13px 15px;
  border: 1px solid #dfe7f8;
  border-radius: 8px;
  background: #f6f8ff;
}

.intel-shell-v2 .impact-label {
  margin-bottom: 5px;
  color: var(--intel-blue);
  font-size: 11px;
  font-weight: 800;
}

.intel-shell-v2 .impact-text,
.hot-product-risk,
.intel-hot-source {
  color: #667085;
  font-size: 11px;
  line-height: 1.7;
}

.intel-hot-panel {
  position: sticky;
  top: 92px;
}

.intel-hot-row {
  display: flex;
  gap: 13px;
  margin: 0;
  padding: 19px 18px;
  border: 0;
  border-bottom: 1px solid var(--intel-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.intel-hot-row:hover {
  transform: none;
  background: #fffaf5;
}

.hot-product-rank {
  display: grid;
  flex: 0 0 26px;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #fff0df;
  color: var(--intel-orange);
  font-size: 12px;
  font-weight: 900;
}

.intel-hot-copy {
  min-width: 0;
  flex: 1;
}

.intel-hot-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.intel-hot-top h3 {
  margin: 7px 0 0;
  color: var(--intel-ink);
  font-size: 15px;
}

.hot-product-score {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
}

.hot-product-score strong {
  color: var(--intel-orange);
  font-size: 18px;
  line-height: 1.1;
}

.hot-product-score span {
  margin-top: 4px;
  color: #a0a7b4;
  font-size: 9px;
}

.hot-product-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.hot-product-metrics span {
  padding: 3px 7px;
  border-radius: 5px;
  background: #f5f6f8;
  color: #7b8494;
  font-size: 10px;
}

.hot-advice-label {
  margin-top: 10px;
}

.hot-product-risk {
  margin-top: 9px;
  color: #b16a28;
}

.intel-hot-source {
  margin-top: 9px;
  color: #9aa3b2;
}

.intel-hot-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 36px);
  margin: 15px 18px 0;
  padding: 11px 0;
  border: 0;
  border-top: 1px solid var(--intel-line);
  background: transparent;
  color: var(--intel-blue);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.intel-data-note {
  margin: 0;
  padding: 2px 18px 17px;
  color: #a0a7b4;
  font-size: 9px;
  line-height: 1.55;
}

.intel-empty-state {
  padding: 40px 24px;
  color: #8b95a7;
  text-align: center;
}

.intel-empty-state strong,
.intel-empty-state span {
  display: block;
}

.intel-empty-state strong {
  margin-bottom: 6px;
  color: #697386;
  font-size: 14px;
}

.intel-empty-state span {
  font-size: 11px;
}

.intel-trend-v2 {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin: 28px 0 0;
  padding: 24px 28px;
  border: 1px solid #dce6fb;
  border-radius: 11px;
  background: #f2f6ff;
  box-shadow: none;
}

.intel-trend-v2 .trend-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.intel-trend-v2 .trend-card-header svg {
  fill: none;
  stroke: var(--intel-blue);
}

.intel-trend-v2 .trend-card-header h3 {
  margin: 0;
  color: var(--intel-ink);
  font-size: 16px;
}

.intel-trend-v2 > p {
  margin: 0;
  color: #657086;
  font-size: 12px;
  line-height: 1.85;
}

.dark-mode .intel-page {
  background: #0c1220;
}

.dark-mode .intel-shell-v2 {
  --intel-ink: #edf2ff;
  --intel-muted: #9da9bd;
  --intel-line: #283247;
  --intel-blue-soft: #1b2948;
  --intel-surface: #111a2b;
}

.dark-mode .intel-hero-intro > p,
.dark-mode .intel-lead-copy > p,
.dark-mode .intel-row-copy .news-list-summary,
.dark-mode .intel-trend-v2 > p {
  color: #a2aec1;
}

.dark-mode .intel-lead-card,
.dark-mode .intel-lead-visual,
.dark-mode .intel-trend-v2,
.dark-mode .intel-shell-v2 .news-list-impact-inner {
  background: #151f33;
  border-color: #2b3952;
}

.dark-mode .intel-feed-row:hover,
.dark-mode .intel-hot-row:hover {
  background: #162035;
}

@media (max-width: 1040px) {
  .intel-hero-v2 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intel-hero-intro > p br {
    display: none;
  }

  .intel-main-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .intel-hot-panel {
    position: static;
  }
}

@media (max-width: 780px) {
  .intel-page {
    padding: 92px 16px 48px;
  }

  .intel-hero-v2 {
    min-height: 0;
    padding-top: 18px;
  }

  .intel-hero-intro h1 {
    font-size: 42px;
  }

  .intel-lead-card {
    grid-template-columns: 124px minmax(0, 1fr);
  }

  .intel-lead-visual {
    min-height: 230px;
  }

  .intel-lead-copy {
    padding: 24px 20px;
  }

  .intel-lead-copy h2 {
    font-size: 22px;
  }

  .intel-filter-panel-v2 .intel-filter-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px 14px;
  }

  .intel-filter-panel-v2 .intel-filter-label {
    grid-column: 1;
  }

  .intel-filter-panel-v2 .news-filter {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .intel-filter-panel-v2 .news-filter::-webkit-scrollbar {
    display: none;
  }

  .intel-filter-panel-v2 .filter-btn {
    flex: 0 0 auto;
  }

  .intel-main-grid {
    grid-template-columns: 1fr;
  }

  .intel-hot-panel {
    order: -1;
  }

  .intel-trend-v2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .intel-hero-intro h1 {
    font-size: 38px;
  }

  .intel-hero-intro > p {
    font-size: 14px;
  }

  .intel-date-switcher .date-tabs .date-tab:not(.active) {
    display: none;
  }

  .intel-lead-card {
    display: block;
  }

  .intel-lead-visual {
    min-height: 170px;
  }

  .intel-lead-visual svg {
    width: 165px;
  }

  .intel-lead-copy {
    padding: 22px 20px;
  }

  .intel-lead-copy h2 {
    margin-top: 11px;
    font-size: 21px;
  }

  .intel-lead-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .intel-feed-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    padding: 18px 14px;
  }

  .intel-row-mark {
    width: 34px;
    height: 34px;
  }

  .intel-row-meta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    text-align: left;
  }

  .intel-row-meta .news-list-expand-icon {
    margin: 0 0 0 auto;
  }

  .intel-trend-v2 {
    padding: 21px 19px;
  }
}

/* ---- QDbot AI workbench redesign ---- */
.hp-overview--qdbot .section-header {
  max-width: 980px;
  margin-bottom: 42px;
}

.hp-overview--qdbot .section-header h2 {
  margin-bottom: 14px;
}

.hp-overview--qdbot .section-header p {
  margin: 0;
  white-space: nowrap;
}

.hp-qd-showcase {
  grid-template-columns: minmax(0, 74%) minmax(230px, 26%);
  gap: 42px;
  align-items: center;
}

.hp-qd-app-wrap {
  padding: 0;
}

.hp-qd-left-glow {
  left: -92px;
  top: 110px;
  width: 360px;
  height: 360px;
  opacity: 0.7;
}

.hp-qd-app {
  border: 1px solid #e4eaf4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(82, 112, 181, 0.16);
  transform: none;
  overflow: hidden;
}

.hp-qd-app::after {
  display: none;
}

.hp-qd-app-top {
  min-height: 54px;
  padding: 10px 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e9eef6;
  background: #fbfcff;
}

.hp-qd-app-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hp-qd-app-title span {
  position: relative;
  padding-left: 12px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.hp-qd-app-title span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 3px;
  height: 15px;
  border-radius: 3px;
  background: #ff8a32;
}

.hp-qd-app-title small {
  padding-left: 12px;
  color: #8a96a8;
  font-size: 8px;
  font-weight: 500;
}

.hp-qd-app-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-qd-app-status span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid #e5eaf2;
  border-radius: 999px;
  color: #667085;
  background: #fff;
  font-size: 8px;
  font-weight: 600;
}

.hp-qd-app-status b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #26c281;
  box-shadow: 0 0 0 3px rgba(38, 194, 129, 0.12);
}

.hp-qd-app-body {
  grid-template-columns: 142px minmax(0, 1fr);
  min-height: 420px;
}

.hp-qd-app-sidebar {
  padding: 14px 12px;
  border-right: 1px solid #e8edf5;
  background: #f8faff;
}

.hp-qd-app-brand {
  gap: 9px;
  margin: 0 0 18px;
  padding: 0 5px 14px;
  border-bottom: 1px solid #e5eaf3;
  font-size: 14px;
}

.hp-qd-app-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff7ef;
}

.hp-qd-app-brand > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hp-qd-app-brand small {
  color: #8a96a8;
  font-size: 8px;
  font-weight: 500;
}

.hp-qd-app-nav {
  gap: 5px;
}

.hp-qd-app-nav-item {
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  color: #68758a;
  font-size: 10px;
  font-weight: 600;
}

.hp-qd-app-nav-item img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  opacity: 0.72;
}

.hp-qd-app-nav-item--active {
  color: #1f61dc;
  background: #eaf2ff;
  box-shadow: inset 3px 0 0 #2c74f6;
}

.hp-qd-app-nav-item--active img {
  opacity: 1;
}

.hp-qd-app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  background: #fff;
}

.hp-qd-app-head {
  align-items: center;
  min-height: 66px;
  padding: 12px 16px;
  border-bottom: 1px solid #e9eef6;
}

.hp-qd-app-assistant {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hp-qd-app-assistant > img {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 9px;
  background: #edf3ff;
}

.hp-qd-app-assistant h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
  font-size: 14px;
}

.hp-qd-app-assistant h3 span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28c689;
  box-shadow: 0 0 0 4px rgba(40, 198, 137, 0.1);
}

.hp-qd-app-assistant p {
  font-size: 9px;
}

.hp-qd-app-head-date {
  color: #6582ad;
  font-size: 9px;
  font-weight: 600;
}

.hp-qd-chatboard {
  position: relative;
  flex: 1;
  min-height: 286px;
  margin: 0;
  padding: 18px 18px 42px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.hp-qd-chatrow + .hp-qd-chatrow {
  margin-top: 9px;
}

.hp-qd-chatrow {
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.hp-qd-chatrow--user {
  justify-content: flex-end;
}

.hp-qd-chat-avatar {
  width: 23px;
  height: 23px;
}

.hp-qd-chat-bubble {
  max-width: 360px;
  padding: 8px 11px;
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  color: #344054;
  background: #fff;
  font-size: 10px;
  box-shadow: none;
}

.hp-qd-chat-bubble--user {
  max-width: 240px;
  border-color: #dfeaff;
  color: #2458ad;
  background: #edf4ff;
  box-shadow: none;
}

.hp-qd-thinking-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 9px;
  color: #60708a;
  background: #f5f7fb;
  font-size: 9px;
}

.hp-qd-thinking-copy span {
  display: flex;
  gap: 3px;
}

.hp-qd-thinking-copy i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2d75f3;
  animation: hp-qd-thinking 0.9s infinite ease-in-out;
}

.hp-qd-thinking-copy i:nth-child(2) { animation-delay: 0.12s; }
.hp-qd-thinking-copy i:nth-child(3) { animation-delay: 0.24s; }

@keyframes hp-qd-thinking {
  0%, 100% { opacity: 0.28; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

.hp-qd-chat-report-wrap {
  width: min(100%, 490px);
  max-width: none;
}

.hp-qd-chat-note {
  margin: 0 0 6px;
  color: #4b5a70;
  font-size: 9px;
}

.hp-qd-chat-report {
  width: 100%;
  padding: 12px;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  background: #fbfcff;
  box-shadow: none;
}

.hp-qd-chat-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hp-qd-chat-report-head strong {
  margin: 0;
  color: #253044;
  font-size: 10px;
}

.hp-qd-chat-report-head span {
  color: #98a2b3;
  font-size: 8px;
}

.hp-qd-chat-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #e8edf5;
  border-radius: 10px;
  background: #fff;
}

.hp-qd-chat-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px;
}

.hp-qd-chat-metrics > div + div {
  border-left: 1px solid #e8edf5;
}

.hp-qd-chat-metrics span {
  color: #8a96a8;
  font-size: 8px;
}

.hp-qd-chat-metrics b {
  color: #1768ea;
  font-size: 15px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hp-qd-chat-metrics em {
  font-style: normal;
}

.hp-qd-chat-metrics small {
  color: #18a66a;
  font-size: 7px;
  font-weight: 600;
}

.hp-qd-chat-insight {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 9px;
  border-radius: 9px;
  color: #52617a;
  background: #edf4ff;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hp-qd-chat-insight img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.hp-qd-chat-insight p {
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
}

.hp-qd-chat-insight strong {
  display: block;
  color: #244b8f;
  font-size: 9px;
}

.hp-qd-demo-steps {
  position: absolute;
  left: 56px;
  right: 18px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hp-qd-demo-steps span {
  position: relative;
  padding-top: 6px;
  border-top: 2px solid #dfe5ee;
  color: #98a2b3;
  font-size: 8px;
  text-align: center;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.hp-qd-demo-steps span.is-active,
.hp-qd-demo-steps span.is-complete {
  border-color: #2b76f3;
  color: #2469db;
}

.hp-qd-input {
  min-height: 54px;
  margin: 0 16px 14px;
  padding: 9px 10px 9px 13px;
  border: 1px solid #dfe5ef;
  border-radius: 11px;
  background: #fff;
}

.hp-qd-input > div {
  position: relative;
  min-width: 0;
  flex: 1;
}

.hp-qd-demo-input,
.hp-qd-demo-placeholder {
  color: #53627a;
  font-size: 9px;
}

.hp-qd-demo-input:empty {
  display: none;
}

.hp-qd-demo-input:not(:empty) + .hp-qd-demo-placeholder {
  display: none;
}

.hp-qd-demo-placeholder {
  color: #9aa5b5;
}

.hp-qd-send {
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #dce6f7;
  border-radius: 8px;
  color: #2469db;
  background: #edf4ff;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.hp-qd-send img {
  display: block;
  width: 17px;
  height: 17px;
  margin: auto;
}

.hp-qd-send:hover,
.hp-qd-send:focus-visible {
  border-color: #8db4f7;
  background: #e1edff;
  outline: none;
}

.hp-qd-app.is-demo-ready [data-qdbot-user],
.hp-qd-app.is-demo-ready [data-qdbot-thinking],
.hp-qd-app.is-demo-ready [data-qdbot-report] {
  opacity: 0;
  transform: translateY(8px);
}

.hp-qd-app.phase-user [data-qdbot-user],
.hp-qd-app.phase-thinking [data-qdbot-user],
.hp-qd-app.phase-report [data-qdbot-user],
.hp-qd-app.phase-thinking [data-qdbot-thinking],
.hp-qd-app.phase-report [data-qdbot-report] {
  opacity: 1;
  transform: none;
}

.hp-qd-app.phase-report [data-qdbot-thinking] {
  opacity: 0;
}

.hp-qd-app.is-demo-ready [data-qdbot-insight] {
  opacity: 0;
  transform: translateY(6px);
}

.hp-qd-app.phase-complete [data-qdbot-insight] {
  opacity: 1;
  transform: none;
}

.hp-qd-paths {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
}

.hp-qd-path {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 28px 4px 28px 18px;
  border-bottom: 1px solid #dfe5ef;
  cursor: pointer;
  outline: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.hp-qd-path:focus-visible {
  border-radius: 10px;
  box-shadow: 0 0 0 3px rgba(44, 117, 244, 0.16);
}

.hp-qd-path:last-child {
  border-bottom: 0;
}

.hp-qd-path::before {
  content: '';
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 3px;
  border-radius: 3px;
  background: transparent;
}

.hp-qd-path > img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: saturate(0.72);
  opacity: 0.68;
}

.hp-qd-path > div {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  column-gap: 6px;
}

.hp-qd-path span,
.hp-qd-path h4 {
  color: #1f2937;
  font-size: 15px;
  line-height: 1.3;
}

.hp-qd-path span {
  color: #7c8ba2;
  font-weight: 700;
}

.hp-qd-path h4 {
  margin: 0;
}

.hp-qd-path strong,
.hp-qd-path p {
  grid-column: 2;
}

.hp-qd-path strong {
  margin-top: 9px;
  color: #5e6c82;
  font-size: 11px;
  font-weight: 600;
}

.hp-qd-path p {
  margin: 5px 0 0;
  color: #8692a5;
  font-size: 10px;
  line-height: 1.6;
}

.hp-qd-path--active::before {
  background: #2c75f4;
}

.hp-qd-path--active {
  transform: translateX(3px);
}

.hp-qd-path--active > img {
  filter: none;
  opacity: 1;
}

.hp-qd-path--active span,
.hp-qd-path--active h4 {
  color: #1768ea;
}

body.dark-mode .hp-qd-app,
body.dark-mode .hp-qd-app-top,
body.dark-mode .hp-qd-app-main,
body.dark-mode .hp-qd-chatboard,
body.dark-mode .hp-qd-input,
body.dark-mode .hp-qd-chat-report,
body.dark-mode .hp-qd-chat-metrics {
  color: #dce7ff;
  border-color: rgba(112, 155, 255, 0.16);
  background: #0d203f;
}

body.dark-mode .hp-overview--qdbot {
  background:
    radial-gradient(circle at 16% 30%, rgba(79, 123, 241, 0.16) 0%, rgba(79, 123, 241, 0.06) 22%, rgba(79, 123, 241, 0) 46%),
    radial-gradient(circle at 84% 56%, rgba(47, 114, 239, 0.12) 0%, rgba(47, 114, 239, 0.04) 24%, rgba(47, 114, 239, 0) 48%),
    #07111f;
}

body.dark-mode .hp-overview--qdbot .section-header h2 {
  color: #f4f8ff;
}

body.dark-mode .hp-overview--qdbot .section-header p {
  color: rgba(224, 233, 248, 0.72);
}

body.dark-mode .hp-qd-left-glow {
  opacity: 0.95;
  background:
    radial-gradient(circle at center, rgba(79, 134, 255, 0.24) 0%, rgba(79, 134, 255, 0.1) 42%, rgba(79, 134, 255, 0) 72%);
}

body.dark-mode .hp-qd-app-sidebar {
  border-color: rgba(112, 155, 255, 0.14);
  background: linear-gradient(180deg, rgba(13, 38, 75, 0.98), rgba(9, 27, 57, 0.98));
}

body.dark-mode .hp-qd-app-title span,
body.dark-mode .hp-qd-app-brand,
body.dark-mode .hp-qd-app-assistant h3,
body.dark-mode .hp-qd-chat-report-head strong,
body.dark-mode .hp-qd-path span,
body.dark-mode .hp-qd-path h4 {
  color: #eff5ff;
}

body.dark-mode .hp-qd-app {
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(112, 155, 255, 0.06);
}

body.dark-mode .hp-qd-app-top,
body.dark-mode .hp-qd-app-head {
  border-color: rgba(112, 155, 255, 0.14);
  background: #10264a;
}

body.dark-mode .hp-qd-app-title small,
body.dark-mode .hp-qd-app-brand small,
body.dark-mode .hp-qd-app-assistant p,
body.dark-mode .hp-qd-app-head-date,
body.dark-mode .hp-qd-chat-report-head span,
body.dark-mode .hp-qd-chat-metrics span,
body.dark-mode .hp-qd-demo-placeholder,
body.dark-mode .hp-qd-demo-input {
  color: rgba(205, 216, 236, 0.62);
}

body.dark-mode .hp-qd-app-status span {
  color: rgba(220, 231, 255, 0.72);
  border-color: rgba(112, 155, 255, 0.16);
  background: rgba(47, 114, 239, 0.055);
}

body.dark-mode .hp-qd-app-brand,
body.dark-mode .hp-qd-app-nav--secondary {
  border-color: rgba(112, 155, 255, 0.12);
}

body.dark-mode .hp-qd-app-brand-logo,
body.dark-mode .hp-qd-app-assistant > img {
  background: rgba(79, 123, 241, 0.16);
}

body.dark-mode .hp-qd-app-nav-item {
  color: rgba(210, 222, 244, 0.68);
}

body.dark-mode .hp-qd-app-nav-item--active {
  color: #dce8ff;
  background: rgba(47, 114, 239, 0.18);
  box-shadow: inset 3px 0 0 #6fa0ff;
}

body.dark-mode .hp-qd-chat-bubble,
body.dark-mode .hp-qd-thinking-copy {
  color: rgba(224, 233, 248, 0.76);
  border-color: rgba(112, 155, 255, 0.15);
  background: rgba(47, 114, 239, 0.06);
}

body.dark-mode .hp-qd-chat-bubble--user {
  color: #e9f2ff;
  border-color: rgba(100, 151, 255, 0.28);
  background: rgba(47, 114, 239, 0.22);
}

body.dark-mode .hp-qd-chat-note {
  color: rgba(224, 233, 248, 0.7);
}

body.dark-mode .hp-qd-chat-metrics {
  background: rgba(47, 114, 239, 0.055);
}

body.dark-mode .hp-qd-chat-metrics > div + div {
  border-color: rgba(112, 155, 255, 0.12);
}

body.dark-mode .hp-qd-chat-metrics b {
  color: #7aa7ff;
}

body.dark-mode .hp-qd-chat-insight {
  color: rgba(224, 233, 248, 0.76);
  background: rgba(79, 123, 241, 0.14);
}

body.dark-mode .hp-qd-chat-insight strong {
  color: #9cbcff;
}

body.dark-mode .hp-qd-demo-steps span {
  color: rgba(205, 216, 236, 0.5);
  border-color: rgba(112, 155, 255, 0.16);
}

body.dark-mode .hp-qd-demo-steps span.is-active,
body.dark-mode .hp-qd-demo-steps span.is-complete {
  color: #86aeff;
  border-color: #6fa0ff;
}

body.dark-mode .hp-qd-send {
  color: #dce8ff;
  border-color: rgba(112, 155, 255, 0.22);
  background: rgba(47, 114, 239, 0.2);
}

body.dark-mode .hp-qd-path {
  border-color: rgba(112, 155, 255, 0.14);
}

body.dark-mode .hp-qd-path span {
  color: rgba(205, 216, 236, 0.62);
}

body.dark-mode .hp-qd-path strong {
  color: rgba(224, 233, 248, 0.68);
}

body.dark-mode .hp-qd-path p {
  color: rgba(205, 216, 236, 0.52);
}

body.dark-mode .hp-qd-path--active span,
body.dark-mode .hp-qd-path--active h4 {
  color: #80abff;
}

body.dark-mode .hp-qd-path--active::before {
  background: #6fa0ff;
}

body.dark-mode .hp-qd-btn--primary {
  background:
    linear-gradient(180deg, rgba(143, 192, 255, 0.18), rgba(47, 114, 239, 0)),
    linear-gradient(180deg, #4c86ff 0%, #2368f0 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(35, 104, 240, 0.24);
}

body.dark-mode .hp-qd-btn--secondary {
  color: rgba(232, 240, 255, 0.86);
  border-color: rgba(112, 155, 255, 0.18);
  background: rgba(47, 114, 239, 0.06);
  box-shadow: none;
}

body.dark-mode .hp-qd-btn--secondary:hover,
body.dark-mode .hp-qd-btn--secondary:focus-visible {
  color: #f4f8ff;
  border-color: rgba(112, 155, 255, 0.3);
  background: rgba(79, 123, 241, 0.11);
}

@media (max-width: 1024px) {
  .hp-qd-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hp-qd-paths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hp-qd-path {
    padding: 20px 16px;
    border-right: 1px solid #dfe5ef;
    border-bottom: 0;
  }

  .hp-qd-path:last-child {
    border-right: 0;
  }
}

@media (max-width: 768px) {
  .hp-overview--qdbot .section-header {
    margin-bottom: 30px;
  }

  .hp-overview--qdbot .section-header p {
    white-space: normal;
  }

  .hp-qd-app-top {
    min-height: 48px;
  }

  .hp-qd-app-status span:last-child {
    display: none;
  }

  .hp-qd-app-body {
    grid-template-columns: 1fr;
  }

  .hp-qd-app-sidebar {
    display: none;
  }

  .hp-qd-app-head {
    min-height: 60px;
    padding: 10px 12px;
  }

  .hp-qd-app-head-date {
    display: none;
  }

  .hp-qd-chatboard {
    min-height: 318px;
    padding: 14px 12px 42px;
  }

  .hp-qd-chat-avatar {
    display: none;
  }

  .hp-qd-chat-report-wrap {
    width: 100%;
  }

  .hp-qd-chat-metrics b {
    font-size: 12px;
  }

  .hp-qd-chat-metrics > div {
    padding: 7px 6px;
  }

  .hp-qd-demo-steps {
    left: 12px;
    right: 12px;
  }

  .hp-qd-input {
    margin: 0 10px 10px;
  }

  .hp-qd-demo-placeholder {
    display: none;
  }

  .hp-qd-paths {
    grid-template-columns: 1fr;
  }

  .hp-qd-path {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 8px 18px 16px;
    border-right: 0;
    border-bottom: 1px solid #dfe5ef;
  }

  .hp-qd-path > img {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-qd-thinking-copy i {
    animation: none;
  }

  .hp-qd-chatrow,
  .hp-qd-chat-insight,
  .hp-qd-path {
    transition: none;
  }

  .hp-qd-app.is-demo-ready [data-qdbot-user],
  .hp-qd-app.is-demo-ready [data-qdbot-report],
  .hp-qd-app.is-demo-ready [data-qdbot-insight] {
    opacity: 1;
    transform: none;
  }

  .hp-qd-app.is-demo-ready [data-qdbot-thinking] {
    display: none;
  }
}

/* ============================================================
   Homepage Hero - restrained growth trajectory art direction
   ============================================================ */
.hp-hero {
  --hp-hero-mouse-x: 0px;
  --hp-hero-mouse-y: 0px;
  min-height: calc(100vh - 78px);
  padding: 54px 24px 34px;
  align-items: flex-start;
  background:
    radial-gradient(circle at 76% 48%, rgba(102, 151, 255, 0.16) 0%, rgba(102, 151, 255, 0.07) 27%, rgba(102, 151, 255, 0) 53%),
    linear-gradient(90deg, #f7faff 0%, #fbfdff 46%, #f6f9ff 100%);
}

.hp-hero::before {
  background: radial-gradient(circle at 0% 76%, rgba(91, 139, 255, 0.14) 0%, rgba(91, 139, 255, 0.05) 26%, rgba(91, 139, 255, 0) 52%);
}

.hp-hero::after {
  width: 48%;
  opacity: 0.72;
  transform: translate3d(var(--hp-hero-mouse-x), var(--hp-hero-mouse-y), 0) scale(1.02);
  transition: transform 180ms ease-out;
}

.hp-hero-grid {
  max-width: 1160px;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 44px;
  transform: translate(11px, 34px);
}

.hp-hero-left,
.hp-hero-right {
  position: relative;
  z-index: 2;
}

.hp-hero-left {
  max-width: 580px;
  padding-left: 48px;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  z-index: 5;
  transform: translate(25px, 110px);
}

.hp-hero-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: -26px;
  width: 1px;
  height: 450px;
  background: rgba(79, 123, 241, 0.74);
}

.hp-hero-badge {
  display: inline-flex;
  padding: 0;
  margin: 0 0 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #2d6ce8;
  font-size: 20px;
  font-weight: 520;
  line-height: 30px;
  letter-spacing: 0.1px;
  animation: none;
}

.hp-hero-badge::after {
  content: none;
}

.hp-hero-left h1 {
  width: max-content;
  max-width: none;
  margin-bottom: 48px;
  color: #101a16;
  font-size: 72px;
  font-weight: 690;
  line-height: 1.14;
  letter-spacing: -1.8px;
  transform: none;
  transform-origin: left center;
}

.hp-hero-title-accent {
  position: relative;
  display: inline-block;
  margin-left: 0.08em;
  color: #2f72ef;
}

.hp-hero-title-accent::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: rgba(47, 114, 239, 0.78);
  transform: scaleX(0);
  transform-origin: left center;
  animation: hp-hero-underline 900ms 280ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hp-hero-title-accent::after {
  content: '';
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f28a21;
  opacity: 0;
  animation: hp-hero-accent-dot 420ms 980ms ease-out forwards;
}

.hp-hero-sub {
  width: 760px;
  max-width: none;
  margin-bottom: 52px;
  color: #586376;
  font-size: 24px;
  line-height: 1.88;
}

.hp-hero-sub-mobile {
  display: none;
}

.hp-hero-actions {
  width: max-content;
  gap: 18px;
  flex-wrap: nowrap;
  margin-bottom: 0;
}

.hp-mobile-proof {
  display: none;
}

.hp-hero .hp-hero-actions .btn-primary,
.hp-hero .hp-hero-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hp-hero .hp-hero-actions .btn-primary {
  width: 208px;
}

.hp-hero .hp-hero-actions .btn-secondary {
  width: 222px;
}

.hp-hero .hp-hero-actions .btn-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(100deg, #287aff 0%, #326ee9 100%);
  box-shadow:
    0 10px 22px rgba(47, 114, 239, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.hp-hero .hp-hero-actions .btn-secondary {
  border-color: rgba(79, 123, 241, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 253, 255, 0.86));
  color: #17211d;
  box-shadow:
    0 8px 18px rgba(72, 103, 170, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hp-hero-action-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: currentColor;
  filter: drop-shadow(0 1px 0 rgba(20, 63, 150, 0.12));
}

.hp-hero-action-icon path {
  vector-effect: non-scaling-stroke;
}

.hp-hero .hp-hero-actions a:hover {
  transform: translateY(-2px);
}

.hp-growth-trajectory {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  transform: translateY(-53px);
}

.hp-growth-trajectory::before {
  content: none;
}

.hp-growth-trajectory-canvas {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: calc(100% + 60px);
  height: 100%;
}

.hp-growth-trajectory span {
  position: absolute;
  left: 64px;
  top: 136px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5c96ff;
  box-shadow: 0 0 0 4px rgba(92, 150, 255, 0.1);
  opacity: 0;
  animation: hp-hero-path-dot 420ms 380ms ease-out forwards;
}

.hp-hero-right {
  min-height: 500px;
  transform: none;
}

.hp-hero-visual {
  min-height: 500px;
  perspective: none;
  transform: translate3d(var(--hp-hero-mouse-x), var(--hp-hero-mouse-y), 0);
  transition: transform 180ms ease-out;
}

@media (min-width: 1500px) {
  .hp-hero-left {
    transform: translate(25px, 100px);
  }

  .hp-hero-left h1 {
    transform: none;
  }

  .hp-growth-trajectory {
    transform: translateY(-63px);
  }
}

.hp-hero-visual::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 156, 255, 0.16) 0%, rgba(107, 156, 255, 0.07) 38%, rgba(107, 156, 255, 0) 70%);
  pointer-events: none;
}

.hp-hero .hp-dashboard-panel {
  z-index: 3;
  width: min(405px, calc(100% - 116px));
  border: 1px solid rgba(82, 119, 200, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 64px rgba(69, 97, 158, 0.14);
  transform: rotate(1.4deg);
  transform-origin: center;
  animation: hp-hero-panel-float 6.8s ease-in-out infinite;
}

.hp-hero .hp-dashboard-panel::before {
  background: none;
}

.hp-hero .hp-dashboard-top {
  height: 50px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(79, 123, 241, 0.1);
}

.hp-hero .hp-dashboard-pill {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #2f72ef;
  font-size: 12px;
  font-weight: 650;
}

.hp-hero .hp-dashboard-body {
  padding: 22px 20px 20px;
}

.hp-dashboard-range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 20px;
}

.hp-dashboard-range {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #e6eaf2;
  border-radius: 8px;
  background: #f5f7fb;
}

.hp-dashboard-range button {
  min-width: 48px;
  height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #7a8495;
  font-family: inherit;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.hp-dashboard-range button:hover {
  color: #2f72ef;
}

.hp-dashboard-range button.is-active {
  background: #ffffff;
  color: #2f72ef;
  font-weight: 650;
  box-shadow: 0 2px 7px rgba(57, 82, 138, 0.1);
}

.hp-dashboard-range button:focus-visible {
  outline: 2px solid rgba(47, 114, 239, 0.42);
  outline-offset: 1px;
}

.hp-dashboard-updated {
  color: #a0a8b7;
  font-size: 9px;
  white-space: nowrap;
}

.hp-hero .hp-dashboard-main {
  margin-bottom: 18px;
}

.hp-hero .hp-dashboard-kicker {
  margin-bottom: 8px;
  color: #7a8495;
  font-size: 10px;
}

.hp-hero .hp-dashboard-total {
  margin-bottom: 8px;
  color: #111b17;
  font-size: 36px;
  font-weight: 720;
  letter-spacing: -1.3px;
  font-variant-numeric: tabular-nums;
}

.hp-hero .hp-dashboard-change {
  padding: 5px 8px;
  background: rgba(79, 123, 241, 0.1);
  font-size: 10px;
}

.hp-hero .hp-dashboard-stats {
  gap: 10px;
  margin-bottom: 18px;
}

.hp-hero .hp-dashboard-stat {
  padding: 11px 10px 13px;
  border-color: rgba(79, 123, 241, 0.08);
  border-radius: 10px;
  background: #f8faff;
}

.hp-hero .hp-dashboard-chart {
  min-height: 160px;
  padding: 12px 12px 10px;
  border-color: rgba(79, 123, 241, 0.08);
  border-radius: 12px;
  background: #f8faff;
}

.hp-dashboard-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #7f8998;
  font-size: 9px;
}

.hp-dashboard-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #526078;
  font-weight: 560;
}

.hp-dashboard-legend i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f72ef;
  box-shadow: 0 0 0 3px rgba(47, 114, 239, 0.1);
}

.hp-dashboard-chart-unit {
  color: #a0a8b7;
}

.hp-dashboard-chart-canvas {
  position: relative;
  width: 100%;
  height: 112px;
}

.hp-hero .hp-dashboard-axis {
  margin-bottom: 8px;
  padding: 0 2px;
  color: #8993a4;
  font-size: 9px;
  font-weight: 400;
}

.hp-dashboard-chart-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.hp-dashboard-tooltip {
  position: absolute;
  z-index: 30;
  min-width: 98px;
  padding: 8px 10px;
  border: 1px solid rgba(47, 114, 239, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(57, 82, 138, 0.14);
  color: #606b7c;
  font-size: 9px;
  line-height: 1.5;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px));
}

.hp-dashboard-tooltip strong {
  display: block;
  color: #17211d;
  font-size: 11px;
  font-weight: 700;
}

.hp-hero .hp-dashboard-line {
  height: 134px;
  margin-bottom: 0;
}

.hp-hero .hp-dashboard-stroke {
  clip-path: polygon(0% 78%, 28% 66%, 54% 54%, 78% 42%, 100% 20%, 100% 100%, 0% 100%);
  transform-origin: left center;
  animation: hp-hero-chart-reveal 1.35s 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hp-hero .hp-dashboard-stroke::before {
  border-top-color: #5d96ff;
  border-top-width: 2px;
  clip-path: polygon(0% 78%, 28% 66%, 54% 54%, 78% 42%, 100% 20%);
}

.hp-hero .hp-dashboard-point {
  width: 9px;
  height: 9px;
  background: #4f8df8;
  box-shadow: 0 0 0 4px rgba(79, 141, 248, 0.12);
  opacity: 0;
  animation: hp-hero-point-in 360ms ease-out forwards;
}

.hp-hero .hp-dashboard-point--1 { top: 104px; animation-delay: 900ms; }
.hp-hero .hp-dashboard-point--2 { top: 88px; animation-delay: 1080ms; }
.hp-hero .hp-dashboard-point--3 { top: 72px; animation-delay: 1260ms; }
.hp-hero .hp-dashboard-point--4 {
  top: 27px;
  animation: hp-hero-final-point 2.2s 1440ms ease-in-out infinite;
}

.hp-hero .hp-spotlight-growth {
  z-index: 4;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(79, 123, 241, 0.16);
  box-shadow: 0 16px 34px rgba(70, 100, 165, 0.1);
  opacity: 0;
  animation: hp-hero-indicator-in 620ms 1.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hp-hero .hp-spotlight-growth--1 {
  left: 4px;
  top: 382px;
}

.hp-hero .hp-spotlight-growth--2 {
  right: 0;
  bottom: 82px;
  animation-delay: 1.42s;
}

.hp-hero .hp-spotlight-growth-value {
  font-size: 23px;
  font-weight: 720;
}

@keyframes hp-hero-underline {
  to { transform: scaleX(1); }
}

@keyframes hp-hero-accent-dot {
  to { opacity: 1; }
}

@keyframes hp-hero-path-draw {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes hp-hero-path-dot {
  to { opacity: 1; }
}

@keyframes hp-hero-panel-float {
  0%, 100% { transform: translateY(0) rotate(1.4deg); }
  50% { transform: translateY(-5px) rotate(1.1deg); }
}

@keyframes hp-hero-chart-reveal {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes hp-hero-point-in {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hp-hero-final-point {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(79, 141, 248, 0.12); }
  50% { opacity: 1; box-shadow: 0 0 0 9px rgba(79, 141, 248, 0); }
}

@keyframes hp-hero-indicator-in {
  from { opacity: 0; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}

@media (max-width: 1024px) {
  .hp-hero {
    padding-top: 118px;
  }

  .hp-hero-grid {
    max-width: 800px;
    gap: 42px;
  }

  .hp-hero-left {
    max-width: 700px;
    padding-left: 0;
    transform: none;
  }

  .hp-hero-left::before,
  .hp-growth-trajectory {
    display: none;
  }

  .hp-hero-left h1,
  .hp-hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hp-hero-left h1 {
    width: auto;
    max-width: 700px;
    font-size: 54px;
  }

  .hp-hero-sub {
    width: auto;
    max-width: 700px;
  }

  .hp-hero-actions {
    width: auto;
    flex-wrap: wrap;
  }

  .hp-hero .hp-hero-actions .btn-primary,
  .hp-hero .hp-hero-actions .btn-secondary {
    width: auto;
    min-height: 54px;
    padding: 0 28px;
    font-size: 16px;
  }

  .hp-hero-right,
  .hp-hero-visual {
    min-height: 540px;
  }

  .hp-hero .hp-dashboard-panel {
    width: min(470px, calc(100% - 110px));
    transform: rotate(1deg);
  }

  .hp-hero .hp-spotlight-growth--1 {
    left: 38px;
  }

  .hp-hero .hp-spotlight-growth--2 {
    right: 32px;
  }
}

@media (max-width: 768px) {
  .hp-hero {
    padding: 104px 16px 58px;
  }

  .hp-hero-left h1 {
    font-size: 38px;
    letter-spacing: -1.2px;
  }

  .hp-hero-badge {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .hp-hero-sub {
    font-size: 15px;
    line-height: 1.75;
  }

  .hp-hero-sub br {
    display: none;
  }

  .hp-hero-actions {
    gap: 10px;
  }

  .hp-hero .hp-hero-actions .btn-primary,
  .hp-hero .hp-hero-actions .btn-secondary {
    min-height: 50px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hp-hero-right,
  .hp-hero-visual {
    min-height: 420px;
  }

  .hp-hero-visual::before {
    width: 390px;
    height: 390px;
  }

  .hp-hero .hp-dashboard-panel {
    width: calc(100% - 44px);
    max-width: 420px;
    border-radius: 20px;
  }

  .hp-hero .hp-dashboard-body {
    padding: 20px 18px;
  }

  .hp-hero .hp-dashboard-total {
    font-size: 34px;
  }

  .hp-hero .hp-dashboard-stat {
    padding: 11px 9px 12px;
  }

  .hp-hero .hp-dashboard-stat strong {
    font-size: 15px;
  }

  .hp-hero .hp-dashboard-chart {
    min-height: 156px;
    padding: 14px 12px 10px;
  }

  .hp-dashboard-range-row {
    margin-bottom: 16px;
  }

  .hp-dashboard-range button {
    min-width: 42px;
    padding: 0 7px;
  }

  .hp-dashboard-updated {
    display: none;
  }

  .hp-dashboard-chart-canvas {
    height: 112px;
  }

  .hp-hero .hp-spotlight-growth {
    padding: 10px 12px;
  }

  .hp-hero .hp-spotlight-growth--1 {
    left: 0;
    top: 232px;
  }

  .hp-hero .hp-spotlight-growth--2 {
    right: 0;
    bottom: 66px;
  }

  .hp-hero .hp-spotlight-growth-value {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .hp-hero-left h1 {
    font-size: 34px;
  }

  .hp-hero-title-accent {
    margin-left: 0;
  }

  .hp-hero-actions {
    flex-direction: column;
  }

  .hp-hero .hp-hero-actions .btn-primary,
  .hp-hero .hp-hero-actions .btn-secondary {
    width: 100%;
  }

  .hp-hero .hp-spotlight-growth--2 {
    display: none;
  }
}

/* ============================================================
   Homepage Hero - canonical desktop composition
   ============================================================ */
@media (min-width: 769px) {
  .navbar-container {
    width: 100%;
    min-width: 1200px;
    max-width: none;
    height: 68px;
    padding: 0 clamp(32px, 2.2vw, 44px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .navbar-container .logo {
    justify-self: start;
    width: 104px;
    height: 38px;
    overflow: hidden;
  }

  .navbar-container .logo-img {
    width: 104px;
    height: 38px;
    max-width: none;
    object-fit: cover;
    object-position: center 48%;
  }

  .navbar-container .nav-links {
    justify-self: center;
  }

  .navbar-container .nav-actions {
    justify-self: end;
    height: 100%;
    align-items: center;
  }

  .navbar-container .consult-wrapper {
    display: flex;
    align-items: center;
  }

  .nav-links {
    display: flex;
    gap: clamp(34px, 2.8vw, 48px);
  }

  .mobile-menu-btn {
    display: none;
  }

  .nav-links a {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .theme-toggle {
    width: 62px;
    min-width: 62px;
    height: 27px;
    padding: 0;
  }

  .nav-actions .btn-primary {
    min-width: 124px;
    min-height: 38px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 13px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 42%),
      linear-gradient(180deg, #4f85ff 0%, #326bed 100%);
    box-shadow:
      0 10px 22px rgba(47, 105, 225, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.38),
      inset 0 -1px 0 rgba(18, 67, 172, 0.2);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .nav-consult-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #fff;
    filter: drop-shadow(0 1px 0 rgba(23, 75, 177, 0.28));
  }

  .nav-consult-icon path,
  .nav-consult-icon circle {
    vector-effect: non-scaling-stroke;
  }

  .hp-hero {
    min-width: 1200px;
    min-height: 100svh;
    padding: 68px clamp(32px, 3vw, 56px) 0;
    align-items: center;
  }

  .hp-hero-grid {
    width: min(100%, 1600px);
    max-width: 1600px;
    min-height: calc(100svh - 68px);
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) minmax(560px, 1fr);
    gap: clamp(30px, 2.6vw, 44px);
    align-items: center;
    transform: none;
  }

  .hp-hero-left {
    width: 100%;
    max-width: 760px;
    padding-left: 40px;
    transform: translate(62.8px, 34px);
  }

  .hp-hero-left::before {
    top: -18px;
    height: 363px;
  }

  .hp-hero-badge {
    margin-bottom: 28px;
    font-size: clamp(18px, 1.2vw, 20px);
  }

  .hp-hero-left h1 {
    width: max-content;
    max-width: 100%;
    margin-bottom: 28px;
    font-size: clamp(64px, 4.45vw, 74px);
    line-height: 1.12;
    letter-spacing: -2px;
    white-space: nowrap;
    transform: none;
  }

  .hp-hero-title-accent {
    margin-left: 0.08em;
  }

  .hp-hero-sub {
    width: auto;
    max-width: 680px;
    margin-bottom: 36px;
    font-size: clamp(21px, 1.45vw, 24px);
    line-height: 1.72;
  }

  .hp-hero-sub br {
    display: inline;
  }

  .hp-hero-actions {
    width: max-content;
    gap: 14px;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .hp-hero .hp-hero-actions .btn-primary,
  .hp-hero .hp-hero-actions .btn-secondary {
    min-height: 48px;
    padding: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
  }

  .hp-hero .hp-hero-actions .btn-primary {
    width: 190px;
  }

  .hp-hero .hp-hero-actions .btn-secondary {
    width: 206px;
  }

  .hp-growth-trajectory {
    transform: translateY(58.2px);
  }

  .hp-growth-trajectory-canvas {
    top: 0;
    width: 100%;
    opacity: 0.42;
  }

  .hp-growth-trajectory span {
    left: 57px;
    top: 93px;
  }

  .hp-hero-right {
    min-height: calc(100svh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(37px, 47px) scale(0.84);
    transform-origin: center center;
  }

  .hp-hero-visual {
    --hp-panel-width: clamp(460px, 30.5vw, 520px);
    --hp-panel-height: clamp(610px, 40.2vw, 672px);
    width: 100%;
    min-height: min(720px, calc(100svh - 100px));
  }

  .hp-hero .hp-dashboard-panel {
    width: var(--hp-panel-width);
    height: var(--hp-panel-height);
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    transform: rotate(1.8deg);
    animation: hp-hero-panel-float-left 6.8s ease-in-out infinite;
  }

  .hp-hero .hp-dashboard-top {
    flex: 0 0 58px;
    height: 58px;
    padding: 0 22px;
  }

  .hp-hero .hp-dashboard-body {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 53px 28px 34px;
  }

  .hp-hero .hp-dashboard-main {
    margin-bottom: 33px;
  }

  .hp-hero .hp-dashboard-kicker {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .hp-hero .hp-dashboard-total {
    margin-bottom: 12px;
    font-size: 44px;
  }

  .hp-hero .hp-dashboard-change {
    font-size: 12px;
  }

  .hp-hero .hp-dashboard-stats {
    gap: 12px;
    margin-bottom: 27px;
  }

  .hp-hero .hp-dashboard-stat {
    padding: 16px 13px 17px;
    border-radius: 12px;
  }

  .hp-hero .hp-dashboard-stat span {
    font-size: 12px;
  }

  .hp-hero .hp-dashboard-stat strong {
    font-size: 18px;
  }

  .hp-hero .hp-dashboard-chart {
    min-height: 0;
    flex: 0 0 clamp(172px, 10.8vw, 182px);
    padding: 14px 16px 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(86, 140, 255, 0.16);
    border-radius: 14px;
    overflow: visible;
    background: #f5f8ff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
    transform: none;
  }

  .hp-hero .hp-dashboard-axis {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .hp-dashboard-chart-canvas {
    height: calc(100% - 22px);
    min-height: 112px;
    overflow: visible;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, rgba(243, 247, 255, 0.15) 0%, rgba(226, 238, 255, 0.58) 100%);
  }

  .hp-hero .hp-spotlight-growth {
    min-width: 102px;
    min-height: 108px;
    justify-content: center;
    padding: 16px 18px;
    border-radius: 14px;
  }

  .hp-hero .hp-spotlight-growth--1 {
    left: calc(50% - var(--hp-panel-width) / 2 - 158px);
    top: 52%;
  }

  .hp-hero .hp-spotlight-growth--2 {
    display: flex;
    top: calc(53% - 56.7px);
    right: auto;
    bottom: auto;
    left: calc(50% + var(--hp-panel-width) / 2 + 23px);
  }

  .hp-hero .hp-spotlight-growth-value {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    min-width: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
  }

  .navbar-container .nav-links,
  .nav-links {
    display: none;
  }

  .navbar-container .consult-wrapper {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hp-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(142px, 0.95fr);
    gap: 18px;
    transform: none;
  }

  .hp-hero-left h1 {
    width: 100%;
    max-width: 190px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hp-hero-title-accent {
    display: block;
    width: max-content;
    margin: 2px auto 0;
  }

  .hp-qd-path.home-reveal-item {
    transform: translateY(18px);
  }

  .hp-qd-path.home-reveal-item.home-reveal-visible,
  .hp-founder-avatar.home-reveal-item.home-reveal-visible {
    transform: none;
  }

  .hp-founder-avatar.home-reveal-item {
    transform: translateY(14px) scale(0.98);
  }
}

@keyframes hp-hero-panel-float-left {
  0%, 100% { transform: translateY(5px) rotate(1.8deg); }
  50% { transform: translateY(0) rotate(1.5deg); }
}

@media (min-width: 1200px) and (max-height: 800px) {
  .hp-growth-trajectory {
    transform: translateY(-37.8px);
  }

  .hp-hero-left {
    transform: translateX(62.8px);
  }

  .hp-hero-left h1 {
    margin-bottom: 26px;
    font-size: clamp(52px, 3.6vw, 60px);
  }

  .hp-hero-sub {
    margin-bottom: 28px;
    font-size: clamp(19px, 1.25vw, 22px);
    line-height: 1.58;
  }

  .hp-hero .hp-hero-actions .btn-primary,
  .hp-hero .hp-hero-actions .btn-secondary {
    min-height: 48px;
  }

  .hp-hero-visual {
    --hp-panel-width: clamp(420px, 27vw, 470px);
    --hp-panel-height: min(590px, calc(100svh - 145px));
    min-height: calc(100svh - 100px);
  }

  .hp-hero-right {
    transform: translate(24px, 8px) scale(0.84);
    transform-origin: center center;
  }

  .hp-hero .hp-dashboard-body {
    padding: 25px 24px 24px;
  }

  .hp-hero .hp-dashboard-main {
    margin-bottom: 20px;
  }

  .hp-hero .hp-dashboard-stats {
    margin-bottom: 22px;
  }

  .hp-hero .hp-dashboard-chart {
    flex-basis: 150px;
  }

  .hp-dashboard-chart-canvas {
    min-height: 102px;
  }

  .hp-hero .hp-spotlight-growth--1 {
    top: 54%;
  }

  .hp-hero .hp-spotlight-growth--2 {
    top: calc(55% - 56.7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-hero::after,
  .hp-hero-visual {
    transition: none;
    transform: none;
  }

  .hp-hero-title-accent::before,
  .hp-hero-title-accent::after,
  .hp-growth-trajectory::before,
  .hp-growth-trajectory span,
  .hp-hero .hp-dashboard-panel,
  .hp-hero .hp-dashboard-stroke,
  .hp-hero .hp-dashboard-point,
  .hp-hero .hp-spotlight-growth {
    animation: none;
  }

  .hp-hero-title-accent::before {
    transform: scaleX(1);
  }

  .hp-hero-title-accent::after,
  .hp-growth-trajectory span,
  .hp-hero .hp-dashboard-point,
  .hp-hero .hp-spotlight-growth {
    opacity: 1;
  }

  .hp-growth-trajectory::before {
    clip-path: inset(0 0 0 0);
  }
}

/* News page finishing overrides */
@media (min-width: 1041px) {
  .intel-hero-v2 {
    min-height: 282px;
    padding: 10px 0 27px;
  }

  .intel-lead-card,
  .intel-lead-visual {
    min-height: 232px;
  }

  .intel-lead-copy {
    padding: 25px 32px;
  }

  .intel-lead-copy h2 {
    margin: 11px 0 9px;
    font-size: 30px;
  }

  .intel-lead-footer {
    margin-top: 16px;
  }

  .intel-feed-row {
    padding-top: 17px;
    padding-bottom: 17px;
  }

  .intel-row-copy .news-list-summary {
    -webkit-line-clamp: 1;
  }
}

.intel-page-body .footer {
  padding-top: 38px;
  padding-bottom: 24px;
}

.intel-page-body .footer-grid {
  gap: 34px;
  margin-bottom: 28px;
}

.intel-page-body .footer-column h4 {
  margin-bottom: 13px;
}

.intel-page-body .footer-column li {
  margin-bottom: 8px;
}

.intel-page-body .footer-bottom {
  padding-top: 22px;
}

@media (max-width: 780px) {
  .intel-filter-panel-v2 .intel-filter-label {
    grid-row: 1;
  }

  .intel-filter-panel-v2 .news-filter {
    grid-row: 2;
  }

  .intel-filter-panel-v2 .intel-reset-btn {
    grid-column: 2;
    grid-row: 1;
  }

  .intel-page-body .footer {
    padding: 28px 24px 22px;
  }

  .intel-page-body .footer-grid {
    display: none;
  }

  .intel-page-body .footer-bottom {
    padding-top: 0;
    border-top: 0;
  }
}

/* Featured cases: lighter editorial composition */
.hp-cases {
  padding-top: 96px;
  padding-bottom: 112px;
}

.hp-cases > .section-header {
  max-width: 1100px;
  margin-bottom: 54px;
  text-align: left;
}

.hp-cases > .section-header h2 {
  margin-bottom: 12px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hp-cases > .section-header p {
  margin-left: 0;
  margin-right: 0;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 400;
}

.hp-case-proof {
  max-width: 1100px;
  margin: 0 auto 62px;
  padding-top: 28px;
  grid-template-columns: 1.15fr 0.85fr 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 64px);
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(79, 123, 241, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hp-case-proof-item {
  min-height: 0;
  padding: 0;
  justify-content: flex-start;
}

.hp-case-proof-item + .hp-case-proof-item {
  border-left: 0;
}

.hp-case-proof-meta {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.hp-case-proof-num {
  font-size: clamp(38px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -1.2px;
  transition: color 180ms ease;
}

.hp-case-proof-num span {
  font-size: 16px;
  font-weight: 500;
}

.hp-case-proof-item p {
  margin-top: 10px;
  font-size: 13px;
}

.hp-case-proof-item--accent {
  background: transparent;
}

.hp-case-proof-item--accent::after {
  display: none;
}

.hp-case-lead {
  max-width: 1100px;
  margin-bottom: 58px;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hp-case-lead-media {
  border-radius: 8px;
}

.hp-case-lead-copy {
  padding: 0;
}

.hp-case-lead-copy h3 {
  max-width: 12em;
  margin-bottom: 16px;
  font-size: clamp(29px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.7px;
}

.hp-case-lead-copy p {
  max-width: 34em;
  font-size: 15px;
  line-height: 1.9;
}

.hp-case-grid {
  max-width: 1100px;
  padding-top: 0;
  gap: clamp(34px, 4.5vw, 64px);
}

.hp-case-grid::before,
.hp-case-card + .hp-case-card::before,
.hp-case-method::before,
.hp-case-method--qdbot::after {
  display: none;
}

.hp-case-card {
  padding: 0;
}

.hp-case-shot {
  position: relative;
  aspect-ratio: 3 / 2;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(79, 123, 241, 0.14);
  border-radius: 8px;
  background: #f7faff;
  box-shadow: 0 16px 36px rgba(42, 86, 160, 0.08);
}

.hp-case-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-case-tag {
  margin-bottom: 11px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
}

.hp-case-card h3 {
  margin-bottom: 20px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.15px;
}

.hp-case-result {
  margin-bottom: 16px;
}

.hp-case-val {
  font-size: clamp(36px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -1.1px;
}

.hp-case-lbl {
  margin-top: 9px;
  font-size: 13px;
}

.hp-case-method {
  padding-top: 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.hp-case-method--qdbot strong {
  color: var(--accent-2);
  font-weight: 600;
}

.hp-case-card:hover .hp-case-val {
  transform: none;
}

.hp-case-actions {
  max-width: 1100px;
  margin-top: 34px;
}

.hp-case-link {
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hp-case-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 48px;
  }

  .hp-case-proof-item,
  .hp-case-proof-item:nth-child(even),
  .hp-case-proof-item:nth-child(n + 3) {
    border: 0 !important;
  }

  .hp-case-lead {
    max-width: 860px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hp-case-lead-copy {
    max-width: 680px;
  }
}

@media (max-width: 768px) {
  .hp-cases {
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .hp-cases > .section-header {
    margin-bottom: 42px;
  }

  .hp-cases > .section-header h2 {
    font-size: 28px;
    line-height: 1.28;
  }

  .hp-case-proof {
    margin-bottom: 48px;
    padding-top: 24px;
    gap: 30px 22px;
  }

  .hp-case-proof-num {
    font-size: 35px;
  }

  .hp-case-lead {
    margin-bottom: 42px;
    gap: 24px;
  }

  .hp-case-lead-copy h3 {
    font-size: 27px;
  }

  .hp-case-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 0;
  }

  .hp-case-card {
    padding: 20px 20px 18px;
    border: 1px solid rgba(79, 123, 241, 0.13);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 30px rgba(58, 101, 178, 0.06);
  }

  .hp-case-shot {
    margin: 18px -4px -4px;
    border-radius: 12px;
  }

  .hp-case-card + .hp-case-card {
    border-top: 1px solid rgba(79, 123, 241, 0.13);
  }

  .hp-case-card + .hp-case-card::before,
  .hp-case-grid::before {
    display: none;
  }

  .hp-case-tag {
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-secondary);
  }

  .hp-case-card h3 {
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.35;
  }

  .hp-case-result {
    display: block;
    gap: 14px;
    margin-bottom: 16px;
  }

  .hp-case-val {
    font-size: clamp(30px, 10vw, 38px);
    width: auto;
    min-width: 0;
  }

  .hp-case-lbl {
    margin-top: 8px;
    padding-bottom: 0;
    text-align: left;
    white-space: normal;
  }

  .hp-case-method {
    width: 100%;
    padding-top: 12px;
    color: var(--text-secondary);
    font-size: 14px;
  }
}

@media (min-width: 1025px) {
  .hp-case-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(330px, 0.78fr);
    min-height: 360px;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-tertiary);
  }

  .hp-case-lead-media {
    position: relative;
    inset: auto;
    width: auto;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hp-case-lead-copy {
    position: static;
    width: auto;
    min-height: 360px;
    margin: 0;
    padding: 46px 42px;
    background: transparent;
  }

  .hp-case-lead-copy h3,
  .hp-case-lead-copy p {
    max-width: none;
  }

  .hp-case-lead-copy h3 {
    font-size: 32px;
  }
}

/* Intel hero cleanup: domestic platforms + TikTok */
.intel-hero-v2 {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.28fr);
  gap: clamp(34px, 4vw, 58px);
  min-height: 238px;
  padding: 8px 0 24px;
}

.intel-hero-intro h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 3.6vw, 54px);
}

.intel-hero-intro > p {
  font-size: 15px;
  line-height: 1.75;
}

.intel-update-row {
  margin-top: 18px;
}

.intel-date-switcher {
  margin-top: 9px;
}

.intel-lead-card.intel-lead-card-compact {
  display: block;
  position: relative;
  min-height: 210px;
  border-color: #dce5f8;
  background: linear-gradient(135deg, #f8faff 0%, #f2f6ff 100%);
}

.intel-lead-card.intel-lead-card-compact::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--intel-blue);
}

.intel-lead-card-compact .intel-lead-copy {
  min-height: 210px;
  padding: 28px 36px 27px 40px;
}

.intel-lead-card-compact .intel-lead-copy h2 {
  max-width: 780px;
  margin: 12px 0 10px;
  font-size: clamp(24px, 2.05vw, 30px);
}

.intel-lead-card-compact .intel-lead-copy > p {
  max-width: 800px;
  -webkit-line-clamp: 2;
}

.intel-lead-card-compact .intel-lead-footer {
  max-width: 800px;
  margin-top: 17px;
}

@media (max-width: 1040px) {
  .intel-hero-v2 {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .intel-hero-v2 {
    gap: 18px;
    padding-top: 12px;
  }

  .intel-hero-intro h1 {
    font-size: 38px;
  }

  .intel-lead-card.intel-lead-card-compact,
  .intel-lead-card-compact .intel-lead-copy {
    min-height: 0;
  }

  .intel-lead-card-compact .intel-lead-copy {
    padding: 23px 20px 22px 24px;
  }

  .intel-lead-card-compact .intel-lead-copy h2 {
    font-size: 21px;
  }
}

/* Intel visual editorial edition: image-led news and hot products */
.intel-page {
  padding-top: 104px;
}

.intel-page-shell {
  max-width: 1600px;
}

.intel-hero-v2 {
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.55fr);
  gap: clamp(34px, 4vw, 60px);
  min-height: 252px;
  padding: 18px 0 28px;
}

.intel-hero-intro h1 {
  font-size: clamp(42px, 3.5vw, 56px);
}

.intel-lead-card.intel-lead-card-compact.has-media {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.28fr);
  min-height: 238px;
  overflow: hidden;
  border-color: #dfe6f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(29, 47, 82, 0.08);
}

.intel-lead-card.intel-lead-card-compact.has-media::before {
  display: none;
}

.intel-lead-media,
.intel-row-media,
.intel-hot-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #eaf0f8;
}

.intel-lead-media img,
.intel-row-media img,
.intel-hot-media img,
.news-image.has-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intel-lead-media img {
  min-height: 238px;
}

.intel-lead-card-compact.has-media .intel-lead-copy {
  min-height: 238px;
  padding: 28px 34px;
}

.intel-lead-card-compact.has-media .intel-lead-copy h2 {
  max-width: 700px;
  margin: 12px 0 10px;
  font-size: clamp(23px, 1.9vw, 30px);
  line-height: 1.32;
}

.intel-lead-card-compact.has-media .intel-lead-copy > p {
  max-width: 720px;
  -webkit-line-clamp: 2;
}

.intel-lead-card-compact.has-media .intel-lead-footer {
  max-width: 720px;
  margin-top: 18px;
}

.intel-filter-panel-v2 {
  margin-bottom: 22px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(29, 47, 82, 0.035);
}

.intel-main-grid {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 26px;
}

.intel-feed-panel,
.intel-hot-panel {
  border-color: #e1e7f0;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(29, 47, 82, 0.045);
}

.intel-panel-heading {
  min-height: 64px;
  padding: 0 22px;
}

.intel-feed-row.has-media {
  grid-template-columns: 192px minmax(0, 1fr) 124px;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
}

.intel-row-media {
  width: 192px;
  aspect-ratio: 16 / 10;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
}

.intel-row-media img,
.intel-hot-media img {
  transition: transform 240ms ease;
}

.intel-feed-row.has-media:hover .intel-row-media img,
.intel-hot-row.has-media:hover .intel-hot-media img {
  transform: scale(1.035);
}

.intel-feed-row.has-media .intel-row-copy .news-list-title {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.42;
}

.intel-feed-row.has-media .intel-row-copy .news-list-summary {
  line-height: 1.65;
}

.intel-feed-row.has-media .intel-row-meta {
  align-self: stretch;
  justify-content: center;
}

.intel-hot-row.has-media {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.intel-hot-media {
  width: 142px;
  aspect-ratio: 4 / 3;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
}

.intel-hot-media .hot-product-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  color: #fff;
  background: var(--intel-orange);
  box-shadow: 0 5px 14px rgba(242, 138, 48, 0.26);
}

.intel-hot-row.has-media .intel-hot-top h3 {
  margin-top: 7px;
  font-size: 16px;
}

.intel-hot-row.has-media .hot-product-score strong {
  font-size: 20px;
}

.intel-hot-row.has-media .hot-product-metrics {
  margin-top: 12px;
}

.intel-hot-row.has-media .news-list-impact {
  grid-column: 1 / -1;
}

.news-image.has-media {
  background: #eaf0f8;
}

.news-image.has-media::after {
  display: none;
}

.news-image.has-media img {
  transition: transform 240ms ease;
}

.news-card:hover .news-image.has-media img {
  transform: scale(1.03);
}

@media (max-width: 1120px) {
  .intel-main-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .intel-feed-row.has-media {
    grid-template-columns: 150px minmax(0, 1fr) 104px;
    gap: 16px;
  }

  .intel-row-media {
    width: 150px;
  }

  .intel-hot-row.has-media {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .intel-hot-media {
    width: 100px;
  }
}

@media (max-width: 1040px) {
  .intel-hero-v2 {
    grid-template-columns: 1fr;
  }

  .intel-main-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

@media (max-width: 780px) {
  .intel-page {
    padding-top: 88px;
  }

  .intel-lead-card.intel-lead-card-compact.has-media {
    grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
  }

  .intel-main-grid {
    grid-template-columns: 1fr;
  }

  .intel-feed-row.has-media {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .intel-feed-row.has-media .intel-row-meta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    text-align: left;
  }

  .intel-feed-row.has-media .intel-row-meta .news-list-expand-icon {
    margin: 0 0 0 auto;
  }
}

@media (max-width: 560px) {
  .intel-hero-intro h1 {
    font-size: 38px;
  }

  .intel-lead-card.intel-lead-card-compact.has-media {
    display: block;
  }

  .intel-lead-media {
    aspect-ratio: 16 / 9;
  }

  .intel-lead-media img {
    min-height: 0;
  }

  .intel-lead-card-compact.has-media .intel-lead-copy {
    min-height: 0;
    padding: 22px 20px;
  }

  .intel-filter-panel-v2 {
    margin-bottom: 18px;
  }

  .intel-feed-row.has-media {
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .intel-row-media {
    width: 106px;
  }

  .intel-feed-row.has-media .intel-row-copy .news-list-title {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.45;
  }

  .intel-feed-row.has-media .intel-row-copy .news-list-summary {
    -webkit-line-clamp: 2;
    font-size: 11px;
  }

  .intel-feed-row.has-media .intel-row-meta {
    grid-column: 1 / -1;
  }

  .intel-hot-row.has-media {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .intel-hot-media {
    width: 108px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intel-row-media img,
  .intel-hot-media img,
  .news-image.has-media img {
    transition: none;
  }
}

/* Intel hero refinement: compact issue status and clearer editorial hierarchy */
.intel-hero-v2 {
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.58fr);
  gap: clamp(22px, 2vw, 34px);
  align-items: stretch;
}

.intel-hero-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 262px;
  padding: 30px 32px 26px;
  overflow: hidden;
  border: 1px solid #e2e9f5;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 116, 232, 0.13), transparent 38%),
    linear-gradient(145deg, #ffffff 0%, #f7f9fe 100%);
  box-shadow: 0 14px 42px rgba(29, 47, 82, 0.06);
}

.intel-hero-intro::after {
  content: '';
  position: absolute;
  right: -44px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(79, 116, 232, 0.12);
  border-radius: 50%;
}

.intel-intro-eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--intel-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.intel-intro-eyebrow span + span {
  padding-left: 9px;
  border-left: 1px solid #ccd7ee;
  color: #8a94a6;
  letter-spacing: 0.08em;
}

.intel-hero-intro h1,
.intel-hero-intro > p,
.intel-brief-meta {
  position: relative;
  z-index: 1;
}

.intel-hero-intro h1 {
  margin-bottom: 13px;
  font-size: clamp(40px, 3.2vw, 52px);
  line-height: 1.06;
}

.intel-hero-intro > p {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.78;
}

.intel-brief-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
}

.intel-brief-meta .intel-update-row {
  min-width: 0;
  margin-top: 0;
}

.intel-current-issue {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  height: 32px;
  padding: 0 11px 0 13px;
  border: 1px solid #d9e4fb;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.82);
  color: #7a8496;
  font-size: 10px;
}

.intel-current-issue strong {
  color: var(--intel-blue);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.intel-date-switcher {
  flex: 0 0 auto;
  margin-top: 0;
}

.platform-tag.platform-more {
  border-color: #dce4f3;
  background: #f2f5fa;
  color: #6f7c91;
}

.intel-lead-card.intel-lead-card-compact.has-media,
.intel-lead-card-compact.has-media .intel-lead-copy {
  min-height: 262px;
}

.intel-lead-media img {
  min-height: 262px;
}

.intel-lead-card.intel-lead-card-compact.has-media {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.28fr);
  border-radius: 18px;
}

.intel-lead-card-compact.has-media .intel-lead-copy {
  padding: 29px 34px 27px;
}

.intel-lead-card-compact.has-media .intel-lead-copy h2 {
  margin-top: 13px;
  font-size: clamp(23px, 1.75vw, 29px);
  line-height: 1.34;
}

.dark-mode .intel-hero-intro {
  border-color: #28364d;
  background:
    radial-gradient(circle at 100% 0%, rgba(92, 132, 242, 0.18), transparent 38%),
    linear-gradient(145deg, #131d30 0%, #101827 100%);
}

.dark-mode .intel-current-issue {
  border-color: #30415e;
  background: rgba(20, 31, 51, 0.85);
}

@media (max-width: 1040px) {
  .intel-hero-v2 {
    grid-template-columns: 1fr;
  }

  .intel-hero-intro {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .intel-hero-intro {
    min-height: 0;
    padding: 24px 21px 21px;
    border-radius: 15px;
  }

  .intel-intro-eyebrow {
    margin-bottom: 14px;
  }

  .intel-hero-intro h1 {
    font-size: 37px;
  }

  .intel-brief-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 18px;
  }

  .intel-lead-card.intel-lead-card-compact.has-media,
  .intel-lead-card-compact.has-media .intel-lead-copy {
    min-height: 0;
  }

  .intel-lead-media img {
    min-height: 0;
  }
}

/* Intel reading mode: reduce first-screen density and reveal detail progressively */
.intel-page {
  padding-top: 132px;
}

.intel-page-shell {
  max-width: 1280px;
}

.intel-hero-v2 {
  display: block;
  min-height: 0;
  padding: 14px 0 30px;
}

.intel-hero-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: row;
  gap: 28px;
  min-height: 0;
  padding: 0 2px 18px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.intel-hero-intro::after {
  display: none;
}

.intel-title-lockup {
  min-width: 0;
}

.intel-title-lockup h1 {
  margin: 0 0 7px;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.05;
}

.intel-title-lockup p {
  margin: 0;
  color: #697386;
  font-size: 13px;
  line-height: 1.6;
}

.intel-brief-meta {
  flex: 0 0 auto;
  align-items: center;
  margin: 0 0 0 auto;
  padding: 0;
}

.intel-lead-card.intel-lead-card-compact.has-media {
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  min-height: 202px;
  border-radius: 15px;
  box-shadow: 0 10px 34px rgba(29, 47, 82, 0.055);
}

.intel-lead-card-compact.has-media .intel-lead-copy {
  min-height: 202px;
  padding: 23px 30px 21px;
}

.intel-lead-media img {
  min-height: 202px;
}

.intel-lead-card-compact.has-media .intel-lead-copy h2 {
  max-width: 850px;
  margin: 10px 0 8px;
  font-size: clamp(21px, 1.65vw, 27px);
  line-height: 1.34;
}

.intel-lead-card-compact.has-media .intel-lead-copy > p {
  max-width: 900px;
  font-size: 13px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
}

.intel-lead-card-compact.has-media .intel-lead-footer {
  max-width: 900px;
  margin-top: 14px;
}

.intel-filter-panel-v2 {
  margin-bottom: 16px;
  border-radius: 12px;
}

.intel-filter-panel-v2 .intel-filter-row {
  grid-template-columns: 50px minmax(0, 1fr) auto;
  min-height: 48px;
  padding: 6px 14px;
}

.intel-filter-panel-v2 .filter-btn {
  min-height: 29px;
  padding: 5px 10px;
}

.intel-main-grid.intel-main-grid-feed-only {
  grid-template-columns: minmax(0, 1fr);
}

.intel-feed-panel,
.intel-hot-panel {
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(29, 47, 82, 0.035);
}

.intel-panel-heading {
  min-height: 52px;
  padding: 0 18px;
}

.intel-panel-heading h2 {
  font-size: 16px;
}

.intel-feed-row.has-media {
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  padding: 15px 18px;
}

.intel-row-media {
  width: 132px;
  border-radius: 10px;
}

.intel-feed-row.has-media .intel-row-copy .news-list-title {
  margin: 7px 0 5px;
  font-size: 15px;
  line-height: 1.4;
}

.intel-feed-row.has-media .intel-row-copy .news-list-summary {
  font-size: 11px;
  line-height: 1.58;
  -webkit-line-clamp: 1;
}

.intel-feed-row.has-media .intel-row-copy .intel-row-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: auto;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 9px;
  text-align: left;
}

.intel-feed-row.has-media .intel-row-copy .intel-row-meta span + span {
  position: relative;
}

.intel-feed-row.has-media .intel-row-copy .intel-row-meta span + span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -6px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #c3cad6;
}

.intel-feed-row.has-media .intel-row-copy .intel-row-meta .news-list-expand-label {
  margin-left: auto;
  color: var(--intel-blue);
  font-weight: 700;
}

.intel-feed-row.has-media .intel-row-copy .intel-row-meta .news-list-expand-icon {
  width: 22px;
  height: 22px;
  margin: 0;
}

.intel-feed-row.expanded .news-list-expand-label {
  color: #7f8999;
}

.intel-shell-v2 .news-list-item.expanded .news-list-impact {
  margin-top: 10px;
}

.intel-shell-v2 .news-list-impact-inner {
  padding: 11px 13px;
}

.intel-trend-v2 {
  display: block;
  margin-top: 16px;
  padding: 16px 18px 17px;
  overflow: hidden;
  border-color: var(--intel-line);
  border-radius: 12px;
  background: var(--intel-surface);
}

.intel-trend-v2 .trend-card-header {
  gap: 9px;
}

.intel-trend-v2 .trend-card-header svg {
  width: 18px;
  height: 18px;
}

.intel-trend-v2 .trend-card-header h3 {
  font-size: 14px;
}

.intel-trend-v2 > p {
  margin: 11px 0 0;
  padding: 0 0 0 27px;
  border: 0;
  color: #657086;
  font-size: 12px;
  line-height: 1.75;
}

.dark-mode .intel-hero-intro {
  border: 0;
  background: transparent;
}

@media (max-width: 780px) {
  .intel-page {
    padding-top: 106px;
  }

  .intel-hero-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding-bottom: 15px;
  }

  .intel-brief-meta {
    width: 100%;
    margin: 0;
  }

  .intel-lead-card.intel-lead-card-compact.has-media {
    grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1.28fr);
  }
}

@media (max-width: 560px) {
  .intel-hero-v2 {
    padding: 8px 0 22px;
  }

  .intel-title-lockup h1 {
    font-size: 34px;
  }

  .intel-title-lockup p {
    font-size: 12px;
  }

  .intel-brief-meta {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    padding: 0;
  }

  .intel-brief-meta .intel-update-row {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 6px;
    height: 26px;
    white-space: nowrap;
  }

  .intel-brief-meta .intel-sync-status {
    display: inline-flex;
    align-items: center;
    height: 20px;
    margin-top: 0;
    line-height: 20px;
  }

  .intel-brief-meta .intel-period {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding-left: 6px;
    line-height: 20px;
  }

  .intel-date-switcher {
    gap: 3px;
  }

  .intel-date-switcher .date-tabs {
    gap: 0;
  }

  .intel-date-switcher .date-arrow {
    flex: 0 0 26px;
    width: 26px;
    padding: 0;
  }

  .intel-lead-card.intel-lead-card-compact.has-media {
    display: block;
  }

  .intel-lead-card-compact.has-media .intel-lead-copy {
    padding: 18px;
  }

  .intel-lead-card-compact.has-media .intel-lead-copy h2 {
    font-size: 20px;
  }

  .intel-filter-panel-v2 .intel-filter-row {
    grid-template-columns: 1fr auto;
    padding: 8px 12px;
  }

  .intel-filter-panel-v2 .intel-filter-label {
    display: none;
  }

  .intel-feed-row.has-media {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 11px;
    padding: 13px;
  }

  .intel-row-media {
    width: 92px;
  }

  .intel-feed-row.has-media .intel-row-copy .news-list-summary {
    display: none;
  }

  .intel-feed-row.has-media .intel-row-copy .intel-row-meta {
    flex-wrap: wrap;
    gap: 7px;
  }

  .intel-feed-row.has-media .intel-row-copy .intel-row-meta .news-list-expand-label {
    display: none;
  }

  .intel-feed-row.has-media .intel-row-copy .intel-row-meta .news-list-expand-icon {
    margin-left: auto;
  }

  .intel-trend-v2 > p {
    padding-left: 0;
  }
}

/* ===== Intel editorial feed refinement ===== */
.intel-main-grid.intel-main-grid-feed-only .intel-feed-panel {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.intel-main-grid.intel-main-grid-feed-only .intel-panel-heading {
  min-height: auto;
  margin-bottom: 14px;
  padding: 0 3px;
  border: 0;
}

.intel-main-grid.intel-main-grid-feed-only .intel-panel-heading h2 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.intel-main-grid.intel-main-grid-feed-only .intel-heading-mark {
  width: 4px;
  height: 18px;
}

.intel-feed-list {
  display: grid;
  gap: 12px;
}

.intel-feed-row.has-media {
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  min-height: 172px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #e4e9f2;
  border-radius: 14px;
  background: #fff;
  cursor: default;
  box-shadow: 0 8px 24px rgba(29, 47, 82, 0.025);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.intel-feed-row.has-media:last-child {
  border-bottom: 1px solid #e4e9f2;
}

.intel-feed-row.has-media:hover {
  border-color: #cbd8f5;
  background: #fff;
  box-shadow: 0 12px 32px rgba(45, 75, 140, 0.07);
  transform: translateY(-2px);
}

.intel-feed-row.has-media .intel-row-media {
  width: 216px;
  height: 135px;
  align-self: center;
  overflow: hidden;
  border: 1px solid #e7ebf2;
  border-radius: 11px;
  background: #f4f6fa;
}

.intel-feed-row.has-media .intel-row-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: none;
}

.intel-feed-row.has-media:hover .intel-row-media img {
  transform: scale(1.018);
}

.intel-feed-row.has-media .intel-row-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.intel-feed-row.has-media .news-list-kickers {
  gap: 5px;
}

.intel-feed-row.has-media .platform-tag,
.intel-feed-row.has-media .content-type-tag {
  min-height: 21px;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 10px;
}

.intel-feed-row.has-media .intel-row-copy .news-list-title {
  display: -webkit-box;
  max-width: 920px;
  overflow: hidden;
  margin: 9px 0 7px;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.42;
  letter-spacing: -0.015em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.intel-feed-row.has-media .intel-row-copy .news-list-summary {
  display: -webkit-box;
  max-width: 960px;
  overflow: hidden;
  color: #748096;
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.intel-feed-row.has-media .intel-row-copy .intel-row-meta {
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 13px;
  color: #929cad;
  font-size: 11px;
  text-align: left;
}

.intel-feed-row.has-media .intel-row-copy .intel-row-meta > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.intel-feed-row.has-media .intel-row-copy .intel-row-meta > div span + span {
  position: relative;
}

.intel-feed-row.has-media .intel-row-copy .intel-row-meta > div span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -7px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #bcc4d1;
}

.intel-feed-row .intel-row-meta .intel-row-source-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  color: var(--intel-blue);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.intel-feed-row .intel-row-meta .intel-row-source-link span {
  font-size: 13px;
  transition: transform 160ms ease;
}

.intel-feed-row .intel-row-meta .intel-row-source-link:hover {
  color: #2f63e6;
}

.intel-feed-row .intel-row-meta .intel-row-source-link:hover span {
  transform: translate(2px, -2px);
}

.dark-mode .intel-feed-row.has-media,
.dark-mode .intel-feed-row.has-media:hover {
  border-color: #2d3950;
  background: #182235;
}

.dark-mode .intel-feed-row.has-media:hover {
  border-color: #45619a;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.dark-mode .intel-feed-row.has-media .intel-row-media {
  border-color: #334159;
  background: #111a29;
}

@media (max-width: 900px) {
  .intel-feed-row.has-media {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 18px;
  }

  .intel-feed-row.has-media .intel-row-media {
    width: 176px;
    height: 110px;
  }

  .intel-feed-row.has-media .intel-row-copy .news-list-title {
    font-size: 16px;
  }

  .intel-feed-row.has-media .intel-row-copy .news-list-summary {
    font-size: 12px;
    -webkit-line-clamp: 1;
  }
}

@media (max-width: 560px) {
  .intel-filter-panel-v2 .intel-filter-row {
    display: block;
    padding: 9px;
  }

  .intel-filter-panel-v2 .news-filter {
    display: flex;
    width: 100%;
    gap: 3px;
    overflow: visible;
  }

  .intel-filter-panel-v2 .filter-btn {
    min-width: 0;
    flex: 1 1 auto;
    padding: 5px 4px;
    font-size: 10px;
    white-space: nowrap;
  }

  .intel-filter-panel-v2 .intel-reset-btn {
    display: none;
  }

  .intel-main-grid.intel-main-grid-feed-only .intel-panel-heading {
    margin-bottom: 11px;
  }

  .intel-feed-list {
    gap: 10px;
  }

  .intel-feed-row.has-media {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    min-height: 128px;
    padding: 12px;
    border-radius: 12px;
  }

  .intel-feed-row.has-media .intel-row-media {
    width: 110px;
    height: 84px;
    border-radius: 9px;
  }

  .intel-feed-row.has-media .platform-tag,
  .intel-feed-row.has-media .content-type-tag {
    min-height: 19px;
    padding: 2px 6px;
    font-size: 9px;
  }

  .intel-feed-row.has-media .intel-row-copy .news-list-title {
    margin: 7px 0 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .intel-feed-row.has-media .intel-row-copy .news-list-summary {
    display: none;
  }

  .intel-feed-row.has-media .intel-row-copy .intel-row-meta {
    margin-top: 8px;
    font-size: 9px;
  }

  .intel-feed-row.has-media .intel-row-copy .intel-row-meta > div span:nth-child(2) {
    display: none;
  }

  .intel-row-source-link {
    font-size: 10px;
  }
}

/* ============================================
   Cases Hero
   ============================================ */
.cases-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 24px 68px;
  background: #f2f5fb;
}

.cases-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 0 56%;
  background: rgba(79, 123, 241, 0.07);
  pointer-events: none;
}

.cases-hero-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  min-height: 450px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(46px, 6vw, 88px);
}

.cases-hero-copy {
  max-width: 540px;
}

.cases-hero-eyebrow {
  width: max-content;
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-2);
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
}

.cases-hero h1 {
  max-width: 520px;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(46px, 4.5vw, 66px);
  font-weight: 820;
  line-height: 1.12;
  letter-spacing: 0;
}

.cases-hero h1 span {
  display: block;
}

.cases-hero-intro {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.8;
}

.cases-hero-actions {
  display: flex;
  margin-top: 30px;
}

.cases-hero-actions .btn-primary {
  min-width: 154px;
  justify-content: center;
  white-space: nowrap;
}

.cases-hero-visual {
  min-width: 0;
}

.cases-hero-proof {
  position: relative;
  width: 100%;
  height: 382px;
  isolation: isolate;
}

.cases-hero-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(47, 72, 125, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(48, 68, 112, 0.16);
}

.cases-hero-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.cases-hero-shot--main {
  top: 6px;
  left: 0;
  z-index: 1;
  width: 88%;
  height: 232px;
}

.cases-hero-shot--phone {
  top: 112px;
  right: 0;
  z-index: 3;
  width: 28%;
  height: 262px;
}

.cases-hero-shot--wide {
  bottom: 6px;
  left: 7%;
  z-index: 2;
  width: 62%;
  height: 148px;
}

.cases-hero-evidence {
  width: 79%;
  margin: 14px 0 0 5%;
  padding-top: 15px;
  border-top: 1px solid rgba(79, 123, 241, 0.24);
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  align-items: end;
  gap: clamp(20px, 3vw, 40px);
}

.cases-hero-evidence > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}

.cases-hero-evidence strong {
  color: var(--accent-2);
  font-size: 30px;
  font-weight: 820;
  line-height: 1;
}

.cases-hero-evidence span,
.cases-hero-evidence p {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.cases-hero-evidence p {
  margin: 0;
  text-align: right;
}

.cases-filter-section {
  scroll-margin-top: 88px;
}

body.dark-mode .cases-hero {
  background: #0d1626;
}

body.dark-mode .cases-hero::before {
  background: rgba(79, 123, 241, 0.11);
}

body.dark-mode .cases-hero-shot {
  border-color: rgba(132, 166, 239, 0.24);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

body.dark-mode .cases-hero-evidence {
  border-top-color: rgba(122, 167, 255, 0.28);
}

@media (prefers-reduced-motion: no-preference) {
  .cases-hero-shot {
    animation: cases-proof-enter 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .cases-hero-shot--phone {
    animation-delay: 0.10s;
  }

  .cases-hero-shot--wide {
    animation-delay: 0.18s;
  }
}

@keyframes cases-proof-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .cases-hero {
    padding-top: 120px;
  }

  .cases-hero::before {
    inset: 47% 0 0;
  }

  .cases-hero-shell {
    max-width: 760px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .cases-hero-copy {
    max-width: 650px;
  }

  .cases-hero h1,
  .cases-hero-intro {
    max-width: 620px;
  }

  .cases-hero-visual {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .cases-hero {
    padding: 108px 18px 42px;
  }

  .cases-hero::before {
    inset: 49% 0 0;
  }

  .cases-hero-shell {
    min-height: 0;
    gap: 32px;
  }

  .cases-hero-eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .cases-hero h1 {
    font-size: clamp(38px, 11vw, 46px);
    line-height: 1.16;
  }

  .cases-hero-intro {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.72;
  }

  .cases-hero-actions {
    margin-top: 24px;
  }

  .cases-hero-proof {
    height: 310px;
  }

  .cases-hero-shot--main {
    width: 94%;
    height: 166px;
  }

  .cases-hero-shot--phone {
    top: 88px;
    width: 30%;
    height: 216px;
  }

  .cases-hero-shot--wide {
    bottom: 8px;
    left: 4%;
    width: 68%;
    height: 120px;
  }

  .cases-hero-evidence {
    width: 100%;
    margin: 12px 0 0;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .cases-hero-evidence strong {
    font-size: 26px;
  }

  .cases-hero-evidence p {
    display: none;
  }
}

/* ============================================================
   Mobile display refinement
   ============================================================ */
@media (max-width: 768px) {
  .navbar-container {
    height: 68px;
    padding: 0 18px;
  }

  .logo-img {
    height: 50px;
  }

  .nav-actions {
    gap: 10px;
  }

  .theme-toggle {
    width: 58px;
    height: 26px;
  }

  body.dark-mode .theme-toggle-icon {
    margin-left: 34px;
  }

  .mobile-menu-btn {
    width: auto;
    min-width: 66px;
    height: 38px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
  }

  .mobile-menu {
    top: 68px;
    padding: 10px 16px 16px;
  }

  .mobile-menu a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .hp-hero {
    min-height: 100dvh;
    padding: 68px 18px 0;
    align-items: center;
  }

  .hp-hero::before {
    background:
      linear-gradient(180deg, rgba(247, 250, 255, 0) 0%, rgba(247, 250, 255, 0.72) 42%, #f7faff 100%),
      radial-gradient(circle at 16% 92%, rgba(79, 123, 241, 0.13) 0%, rgba(79, 123, 241, 0.05) 24%, rgba(79, 123, 241, 0) 54%);
    inset: auto 0 0;
    height: 220px;
    opacity: 1;
  }

  .hp-hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 430px;
    transform: translateY(-20px);
  }

  .hp-hero-left {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    text-align: center;
    transform: none;
  }

  .hp-hero-left h1 {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 28px;
    text-align: center;
    font-size: clamp(40px, 10.8vw, 48px);
    line-height: 1.12;
    letter-spacing: 0;
  }

  .hp-hero-title-accent {
    display: block;
    width: max-content;
    margin: 4px auto 0;
  }

  .hp-hero-badge {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.45;
  }

  .hp-hero-sub {
    max-width: 340px;
    margin: 0 auto 34px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
  }

  .hp-hero-sub-desktop {
    display: none;
  }

  .hp-hero-sub-mobile,
  .hp-hero-sub-mobile > span {
    display: block;
  }

  .hp-hero-actions {
    width: 100%;
    max-width: 356px;
    margin-left: auto;
    margin-right: auto;
    gap: 14px;
    flex-direction: column;
  }

  .hp-hero .hp-hero-actions .btn-primary,
  .hp-hero .hp-hero-actions .btn-secondary {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }

  .hp-mobile-proof {
    display: none;
  }

  .hp-hero-right {
    display: none;
    min-height: 0;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
  }

  .hp-hero-visual {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 356px;
    min-height: 0;
    aspect-ratio: 4 / 3;
    transform: none;
  }

  .hp-hero-visual::before {
    width: 300px;
    height: 300px;
  }

  .hp-hero .hp-dashboard-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transform: none;
    animation: none;
    overflow: hidden;
    border-radius: 18px;
  }

  .hp-hero .hp-dashboard-top {
    flex: 0 0 38px;
    height: 38px;
    padding: 0 14px;
  }

  .hp-hero .hp-dashboard-pill {
    font-size: 11px;
  }

  .hp-hero .hp-dashboard-body {
    min-height: 0;
    flex: 1;
    padding: 13px 14px 12px;
    display: flex;
    flex-direction: column;
  }

  .hp-hero .hp-dashboard-main {
    margin-bottom: 8px;
  }

  .hp-hero .hp-dashboard-kicker {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .hp-hero .hp-dashboard-total {
    margin-bottom: 4px;
    font-size: 26px;
    letter-spacing: -0.6px;
  }

  .hp-hero .hp-dashboard-change {
    padding: 4px 7px;
    font-size: 9px;
  }

  .hp-hero .hp-dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 9px;
  }

  .hp-hero .hp-dashboard-stat {
    padding: 7px 5px 8px;
    border-radius: 8px;
  }

  .hp-hero .hp-dashboard-stat span {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .hp-hero .hp-dashboard-stat strong {
    font-size: 13px;
  }

  .hp-hero .hp-dashboard-chart {
    min-height: 0;
    flex: 1;
    padding: 8px 8px 6px;
  }

  .hp-dashboard-chart-canvas {
    height: 54px;
  }

  .hp-hero .hp-spotlight-growth {
    display: none;
  }

  .section {
    padding: 72px 18px;
  }

  .hp-overview--qdbot {
    margin-top: 0;
    padding-top: 64px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header h2 {
    font-size: clamp(26px, 7.1vw, 30px);
    line-height: 1.28;
  }

  .mobile-title-line {
    display: block;
  }

  .desktop-title-punct {
    display: none;
  }

  .mobile-copy-line {
    display: block;
  }

  .section-header p {
    font-size: 15px;
  }

  .contact-screen {
    min-height: auto;
    padding: 104px 18px 42px;
  }

  .contact-screen-header {
    padding-inline: 0;
  }

  .contact-screen-header h1 {
    font-size: clamp(40px, 12vw, 48px);
    line-height: 1.12;
  }

  .contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 12px;
    margin-top: 24px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .contact-channel {
    width: 100%;
    padding: 18px 10px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    scroll-snap-align: none;
  }

  .contact-channel:not(:last-child)::after {
    display: none;
  }

  .contact-channel-icon {
    display: none;
  }

  .contact-channel h2 {
    margin-top: 0;
    font-size: 18px;
  }

  .contact-channel > p {
    min-height: 0;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.55;
  }

  .contact-channel-qr {
    width: 108px;
    height: 108px;
    margin-top: 14px;
    padding: 0;
    border: 0;
    }

  .contact-channel-qr--active > img {
    width: 108px;
    height: 108px;
    padding: 0;
  }

  .contact-support-strip {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 12px;
    padding-inline: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .contact-support-item {
    width: 100%;
    scroll-snap-align: none;
  }

  .about-hero {
    padding-bottom: 32px;
  }

  .about-hero-stage {
    height: min(430px, calc(100svh - 68px));
  }

  .about-hero-main-image {
    max-width: none;
  }

  .about-hero-content {
    width: calc(100% - 40px);
  }

  .about-hero-content h1 {
    font-size: clamp(32px, 9vw, 38px);
  }

  .about-hero-intro {
    max-width: 310px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .tool-hero {
    min-height: auto;
    padding: 120px 20px 86px;
  }

  .tool-hero h1 {
    font-size: clamp(56px, 16vw, 68px);
  }

  .tool-hero-center > p {
    font-size: 20px;
    line-height: 1.45;
  }

  .tool-windows-cta {
    width: min(100%, 300px);
    min-height: 62px;
  }
}

@media (max-width: 420px) {
  .hp-hero-left h1 {
    max-width: 330px;
  }

  .hp-hero-sub,
  .hp-hero-actions {
    max-width: 330px;
  }

  .hp-hero .hp-dashboard-panel {
    width: 100%;
  }

  .hp-dashboard-range button {
    min-width: 40px;
    padding: 0 6px;
  }
}

/* Compact shared footer for mobile pages */
@media (max-width: 768px) {
  .footer,
  .intel-page-body .footer {
    padding: 40px 18px 0;
  }

  .footer-grid,
  .intel-page-body .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 0 14px;
    margin-bottom: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .footer-brand .logo {
    margin-bottom: 10px;
  }

  .footer-brand .logo-img {
    height: 42px;
  }

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

  .footer-column h4,
  .intel-page-body .footer-column h4 {
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
  }

  .footer-column,
  .intel-page-body .footer-column {
    text-align: center;
  }

  .footer-column li,
  .intel-page-body .footer-column li {
    margin-bottom: 10px;
  }

  .footer-column a {
    font-size: 12px;
    line-height: 1.5;
  }

  .footer-bottom,
  .intel-page-body .footer-bottom {
    padding: 20px 0 24px;
    border-top: 1px solid var(--border-subtle);
  }

  .footer-bottom p {
    font-size: 11px;
    line-height: 1.8;
  }

  .footer-bottom p a {
    display: block;
    margin: 3px 0 0;
  }
}

/* Final mobile hero composition */
@media (max-width: 768px) {
  .navbar-container .logo {
    width: 78px;
    height: 30px;
    overflow: hidden;
  }

  .navbar-container .logo-img {
    width: 78px;
    height: 30px;
    max-width: none;
    object-fit: cover;
    object-position: center 48%;
  }

  .mobile-menu-btn {
    min-width: 72px;
    height: 40px;
  }

  .hp-hero {
    min-height: 100dvh;
    padding: 68px 26px 0;
    align-items: stretch;
    overflow: hidden;
    background:
      radial-gradient(circle at 92% 22%, rgba(108, 158, 255, 0.16) 0%, rgba(108, 158, 255, 0.05) 32%, rgba(108, 158, 255, 0) 56%),
      linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
  }

  .hp-hero::before {
    inset: auto 0 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(180deg, rgba(247, 250, 255, 0), rgba(234, 243, 255, 0.8));
    opacity: 1;
  }

  .hp-hero::after {
    inset: 0 0 0 auto;
    width: 58%;
    opacity: 0.48;
    background-size: 28px 28px;
  }

  .hp-hero-grid {
    display: block;
    width: 100%;
    max-width: 430px;
    min-height: calc(100dvh - 68px);
    padding: clamp(54px, 10.7vh, 90px) 0 54px;
    transform: none;
  }

  .hp-hero-left {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 0;
    text-align: left;
    transform: none;
  }

  .hp-hero-left::before {
    display: none;
  }

  .hp-hero-badge {
    margin: 0 0 22px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
  }

  .hp-hero-left h1 {
    width: max-content;
    max-width: 278px;
    margin: 0 0 39px;
    text-align: left;
    font-size: clamp(43px, 12vw, 49px);
    font-weight: 760;
    line-height: 1.08;
  }

  .hp-hero-title-accent {
    display: block;
    width: max-content;
    margin: 3px 0 0;
  }

  .hp-hero-title-accent::before {
    left: -3px;
    right: -3px;
    bottom: -10px;
    height: 12px;
    border-bottom: 3px solid #f28a21;
    border-radius: 0 0 52% 48%;
    background: transparent;
    transform: rotate(-1.2deg) scaleX(1);
    animation: none;
  }

  .hp-hero-title-accent::after {
    right: -11px;
    bottom: -14px;
    width: 8px;
    height: 8px;
    opacity: 1;
    animation: none;
  }

  .hp-hero-sub {
    max-width: 252px;
    margin: 0 0 43px;
    text-align: left;
    font-size: 14px;
    line-height: 1.7;
  }

  .hp-hero-actions {
    width: 226px;
    max-width: 226px;
    margin: 0;
    gap: 10px;
    flex-direction: column;
  }

  .hp-hero .hp-hero-actions .btn-primary,
  .hp-hero .hp-hero-actions .btn-secondary {
    width: 100%;
    min-height: 52px;
    border-radius: 10px;
    font-size: 15px;
  }

  .hp-hero-action-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .hp-mobile-hero-wave {
    display: none;
  }

  .hp-overview--qdbot {
    position: relative;
    isolation: isolate;
  }

  .hp-overview--qdbot::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: -76px;
    right: 0;
    left: 0;
    height: 112px;
    background: linear-gradient(
      180deg,
      rgba(247, 250, 255, 0) 0%,
      rgba(247, 250, 255, 0.46) 36%,
      rgba(247, 250, 255, 0.9) 74%,
      #f7faff 100%
    );
    pointer-events: none;
  }

  .hp-overview--qdbot .hp-qd-shell {
    position: relative;
    z-index: 1;
  }

  body.dark-mode .hp-hero {
    background:
      radial-gradient(circle at 92% 22%, rgba(68, 124, 239, 0.2) 0%, rgba(68, 124, 239, 0.05) 34%, rgba(68, 124, 239, 0) 58%),
      linear-gradient(180deg, #0d1a30 0%, #10213e 100%);
  }

  body.dark-mode .hp-hero::before {
    background: linear-gradient(180deg, rgba(13, 26, 48, 0), rgba(11, 25, 48, 0.88));
  }

  body.dark-mode .hp-overview--qdbot::before {
    background: linear-gradient(
      180deg,
      rgba(7, 17, 31, 0) 0%,
      rgba(7, 17, 31, 0.5) 38%,
      rgba(7, 17, 31, 0.92) 76%,
      #07111f 100%
    );
  }
}

@media (max-width: 360px) {
  .hp-hero-grid {
    padding-top: clamp(50px, 9vh, 72px);
  }

  .hp-hero-left h1 {
    font-size: 39px;
  }
}

/* Mobile readability pass based on real-device review */
@media (max-width: 768px) {
  .hp-mobile-capability p {
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0;
  }

  .hp-overview--qdbot {
    padding-bottom: 44px;
  }

  .hp-qd-path {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 8px 22px 12px;
  }

  .hp-qd-path::before {
    top: 20px;
    bottom: 20px;
  }

  .hp-qd-path > img {
    width: 38px;
    height: 38px;
  }

  .hp-qd-path > div {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 8px;
  }

  .hp-qd-path span,
  .hp-qd-path h4 {
    font-size: 17px;
    line-height: 1.35;
  }

  .hp-qd-path strong {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
  }

  .hp-qd-path p {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.55;
  }

  .hp-qd-btn {
    min-height: 52px;
    font-size: 16px;
  }

  .hp-founder {
    padding: 58px 18px 64px;
  }

  .hp-founder-kicker {
    font-size: 14px;
    line-height: 1.4;
  }

  .hp-founder-role {
    font-size: 14px;
    line-height: 1.7;
  }

  .hp-founder-role strong {
    font-size: 20px;
  }

  .hp-founder-info h3 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hp-founder-desc {
    font-size: 16px;
    line-height: 1.9;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-ideograph;
  }

  .hp-founder-stat strong {
    font-size: 29px;
    line-height: 1.2;
  }

  .hp-founder-stat span {
    font-size: 13px;
    line-height: 1.55;
  }

  .hp-founder-link {
    font-size: 15px;
  }

  .hp-svc-card li {
    font-size: 13px;
    line-height: 1.65;
  }

  .hp-case-tag,
  .platform-tag {
    font-size: 11px;
  }
}
