                :root {
                  --bg: #0f111a;
                  --surface: #151a26;
                  --surface-2: #1c2333;
                  --border: #2a3348;
                  --text: #f1f5f9;
                  --muted: #94a3b8;
                  --accent: #22d3ee;
                  --accent-glow: rgba(34, 211, 238, 0.28);
                  --neon: #34d399;
                  --neon-dim: rgba(52, 211, 153, 0.16);
                  --blue-glow: rgba(99, 102, 241, 0.12);
                  --radius: 12px;
                }

                * {
                  box-sizing: border-box;
                }

                body {
                  margin: 0;
                  min-height: 100vh;
                  font-family: "Be Vietnam Pro", system-ui, sans-serif;
                  background: var(--bg);
                  color: var(--text);
                  line-height: 1.5;
                }

                a {
                  color: var(--muted);
                  text-decoration: none;
                }

                a:hover {
                  color: var(--text);
                }

                .site-header {
                  display: flex;
                  align-items: center;
                  justify-content: space-between;
                  max-width: 1120px;
                  margin: 0 auto;
                  padding: 1rem 1rem 0;
                }

                .brand {
                  display: flex;
                  align-items: center;
                  gap: 0.6rem;
                }

                .brand-mark {
                  position: relative;
                  width: 40px;
                  height: 40px;
                  border-radius: 10px;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  background: radial-gradient(circle at center, rgba(52, 211, 153, 0.28) 0 5px, rgba(34, 211, 238, 0.2) 6px 12px, rgba(14, 165, 233, 0.12) 13px 18px, #0f172a 19px);
                  border: 1px solid rgba(34, 211, 238, 0.5);
                  box-shadow: inset 0 0 12px rgba(34, 211, 238, 0.24), 0 0 20px var(--accent-glow);
                  overflow: hidden;
                }

                .brand-mark::after {
                  content: "";
                  position: absolute;
                  inset: 5px;
                  border-radius: 8px;
                  border: 1px solid rgba(34, 211, 238, 0.34);
                }

                .brand-mark-dot {
                  width: 8px;
                  height: 8px;
                  border-radius: 50%;
                  background: var(--neon);
                  box-shadow: 0 0 12px rgba(52, 211, 153, 0.7);
                }

                .brand-mark-sweep {
                  position: absolute;
                  width: 42px;
                  height: 2px;
                  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.85), rgba(34, 211, 238, 0));
                  transform-origin: 20px 1px;
                  animation: sweep 3.6s linear infinite;
                  opacity: 0.75;
                }

                .brand-name {
                  font-weight: 700;
                  font-size: 1.05rem;
                  letter-spacing: 0.01em;
                }

                .nav {
                  display: flex;
                  align-items: center;
                  gap: 1.25rem;
                  font-size: 0.9rem;
                  font-weight: 500;
                }

                .nav-login {
                  padding: 0.45rem 1rem;
                  border-radius: 999px;
                  border: 1px solid var(--border);
                  background: var(--surface);
                  color: var(--text);
                  font: inherit;
                  font-weight: 600;
                  cursor: pointer;
                }

                .nav-login:hover {
                  border-color: var(--accent);
                  color: var(--accent);
                }

                .wrap {
                  max-width: 1120px;
                  margin: 0 auto;
                  padding: 2rem 1rem 3rem;
                }

                .hero-landing {
                  position: relative;
                  text-align: center;
                  padding: 1.5rem 0 1.5rem;
                }

                .hero-landing::before,
                .hero-landing::after {
                  content: "";
                  position: absolute;
                  left: 50%;
                  top: 86px;
                  width: 180px;
                  height: 180px;
                  border-radius: 50%;
                  border: 1px solid rgba(34, 211, 238, 0.24);
                  transform: translateX(-50%) scale(0.76);
                  opacity: 0;
                  pointer-events: none;
                  animation: radarPulse 3s ease-out infinite;
                  z-index: 0;
                }

                .hero-landing::after {
                  animation-delay: 1.5s;
                }

                .hero-landing>* {
                  position: relative;
                  z-index: 1;
                }

                .powered-badge {
                  display: inline-flex;
                  align-items: center;
                  gap: 0.45rem;
                  margin-bottom: 0.8rem;
                  padding: 0.35rem 0.72rem;
                  border-radius: 999px;
                  border: 1px solid rgba(34, 211, 238, 0.45);
                  background: rgba(13, 26, 43, 0.62);
                  color: #c7f7ff;
                  font-size: 0.78rem;
                  font-weight: 600;
                  letter-spacing: 0.02em;
                  text-transform: uppercase;
                }

                .powered-dot {
                  width: 7px;
                  height: 7px;
                  border-radius: 50%;
                  background: var(--neon);
                  box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
                }

                .hero-landing h1 {
                  margin: 0;
                  font-size: clamp(1.65rem, 4vw, 2.35rem);
                  font-weight: 700;
                  letter-spacing: -0.02em;
                }

                .hero-sub {
                  margin: 0.65rem auto 0;
                  color: var(--muted);
                  font-size: 1.02rem;
                }

                .search-row {
                  margin-top: 1.75rem;
                  display: flex;
                  flex-wrap: wrap;
                  gap: 0.75rem;
                  justify-content: center;
                  align-items: stretch;
                  max-width: 760px;
                  margin-left: auto;
                  margin-right: auto;
                }

                .search-row input {
                  flex: 1 1 240px;
                  min-height: 52px;
                  padding: 0 1.1rem;
                  font: inherit;
                  border: 1px solid var(--border);
                  border-radius: var(--radius);
                  background: var(--surface);
                  color: var(--text);
                }

                .search-row input::placeholder {
                  color: #64748b;
                }

                .search-row input:focus {
                  outline: none;
                  border-color: var(--accent);
                  box-shadow: 0 0 0 3px var(--accent-glow);
                }

                .btn-analyze {
                  min-height: 52px;
                  padding: 0 1.75rem;
                  border: none;
                  border-radius: var(--radius);
                  font: inherit;
                  font-weight: 700;
                  font-size: 1rem;
                  background: linear-gradient(135deg, var(--accent), #0ea5e9);
                  color: #fff;
                  cursor: pointer;
                  white-space: nowrap;
                  box-shadow: 0 4px 24px var(--accent-glow);
                  transition: transform 0.12s ease, opacity 0.2s;
                }

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

                .btn-analyze:disabled {
                  opacity: 0.55;
                  cursor: not-allowed;
                }

                .btn-analyze.loading {
                  pointer-events: none;
                  opacity: 0.92;
                }

                .btn-analyze .spinner {
                  display: none;
                  width: 16px;
                  height: 16px;
                  border: 2px solid rgba(255, 255, 255, 0.35);
                  border-top-color: #fff;
                  border-radius: 50%;
                  animation: spin 0.8s linear infinite;
                  vertical-align: -3px;
                  margin-right: 0.4rem;
                }

                .btn-analyze.loading .spinner {
                  display: inline-block;
                }

                @keyframes spin {
                  to {
                    transform: rotate(360deg);
                  }
                }

                @keyframes radarPulse {
                  0% {
                    transform: translateX(-50%) scale(0.72);
                    opacity: 0;
                  }

                  25% {
                    opacity: 0.24;
                  }

                  100% {
                    transform: translateX(-50%) scale(1.42);
                    opacity: 0;
                  }
                }

                @keyframes sweep {
                  to {
                    transform: rotate(360deg);
                  }
                }

                @media (prefers-reduced-motion: reduce) {

                  .hero-landing::before,
                  .hero-landing::after,
                  .brand-mark-sweep {
                    animation: none;
                  }
                }

                .hero-hint {
                  margin: 0.85rem 0 0;
                  font-size: 0.88rem;
                  color: var(--muted);
                }

                .hero-actions {
                  margin-top: 0.75rem;
                  display: flex;
                  justify-content: center;
                  gap: 0.5rem;
                }

                .btn-ghost {
                  padding: 0.4rem 0.9rem;
                  border-radius: 8px;
                  border: 1px solid var(--border);
                  background: transparent;
                  color: var(--muted);
                  font: inherit;
                  font-size: 0.85rem;
                  cursor: pointer;
                }

                .btn-ghost:hover {
                  color: var(--text);
                  border-color: var(--muted);
                }

                .status {
                  margin-top: 1rem;
                  font-size: 0.9rem;
                  color: var(--muted);
                  text-align: center;
                }

                .status.ok {
                  color: var(--neon);
                }

                /* Summary banner */
                .summary-banner {
                  border-radius: var(--radius);
                  padding: 1.35rem 1.5rem;
                  margin-bottom: 1rem;
                  border: 1px solid var(--border);
                  background: linear-gradient(145deg, var(--surface) 0%, #121826 100%);
                  box-shadow: 0 0 40px var(--neon-dim);
                  display: grid;
                  grid-template-columns: auto 1fr;
                  gap: 1rem 1.5rem;
                  align-items: start;
                }

                .summary-banner.reco-good {
                  border-color: rgba(74, 222, 128, 0.35);
                  box-shadow: 0 0 32px var(--neon-dim);
                }

                .summary-banner.reco-warn {
                  border-color: rgba(251, 191, 36, 0.35);
                  box-shadow: 0 0 32px rgba(251, 191, 36, 0.12);
                }

                .summary-banner.reco-bad {
                  border-color: rgba(248, 113, 113, 0.35);
                  box-shadow: 0 0 32px rgba(248, 113, 113, 0.08);
                }

                .summary-reco {
                  display: flex;
                  align-items: center;
                  gap: 0.65rem;
                }

                .summary-icon {
                  width: 48px;
                  height: 48px;
                  border-radius: 12px;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  font-size: 1.35rem;
                }

                .summary-icon.good {
                  background: var(--neon-dim);
                  color: var(--neon);
                }

                .summary-icon.warn {
                  background: rgba(251, 191, 36, 0.15);
                  color: #fbbf24;
                }

                .summary-icon.bad {
                  background: rgba(248, 113, 113, 0.15);
                  color: #f87171;
                }

                .summary-reco-text strong {
                  display: block;
                  font-size: 1.15rem;
                  letter-spacing: 0.02em;
                }

                .summary-reco-text span {
                  color: var(--muted);
                  font-size: 0.88rem;
                }

                .summary-metrics {
                  display: flex;
                  flex-wrap: wrap;
                  gap: 1.25rem 2rem;
                }

                .summary-metrics dd {
                  margin: 0;
                }

                .summary-metrics dt {
                  margin: 0 0 0.2rem;
                  font-size: 0.72rem;
                  text-transform: uppercase;
                  letter-spacing: 0.06em;
                  color: var(--muted);
                }

                .summary-metrics .val {
                  font-weight: 700;
                  font-size: 1rem;
                }

                .summary-bullets {
                  grid-column: 1 / -1;
                  margin: 0;
                  padding-left: 1.15rem;
                  color: var(--muted);
                  font-size: 0.93rem;
                }

                .summary-bullets li+li {
                  margin-top: 0.35rem;
                }

                .dash-grid {
                  display: grid;
                  grid-template-columns: 1fr 1fr;
                  column-gap: 1rem;
                  row-gap: 1rem;
                }

                .dash-col {
                  display: grid;
                  row-gap: 1rem;
                  align-content: start;
                }

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

                  .summary-banner {
                    grid-template-columns: 1fr;
                  }
                }

                .dash-card {
                  border-radius: var(--radius);
                  border: 1px solid var(--border);
                  background: var(--surface);
                  padding: 1.1rem 1.2rem;
                }

                .dash-card.neon {
                  box-shadow: 0 0 28px var(--neon-dim);
                }

                .dash-card h3 {
                  margin: 0 0 1rem;
                  padding-bottom: 0.55rem;
                  font-size: 1.05rem;
                  font-weight: 800;
                  letter-spacing: 0.01em;
                  color: #f8fbff;
                  display: flex;
                  align-items: center;
                  justify-content: space-between;
                  gap: 0.5rem;
                }

                .score-ring-wrap {
                  display: flex;
                  flex-direction: column;
                  align-items: center;
                  padding: 0.5rem 0;
                }

                .score-ring {
                  width: 140px;
                  height: 140px;
                }

                .score-ring-label {
                  margin-top: 0.75rem;
                  font-weight: 700;
                  font-size: 1.05rem;
                }

                .score-ring-sub {
                  font-size: 0.85rem;
                  color: var(--muted);
                  margin-top: 0.2rem;
                }

                .btn-link {
                  background: none;
                  border: none;
                  color: var(--accent);
                  font: inherit;
                  font-weight: 600;
                  font-size: 0.85rem;
                  cursor: pointer;
                  padding: 0;
                }

                .btn-link:hover {
                  text-decoration: underline;
                }

                .chip-wrap {
                  display: flex;
                  flex-wrap: wrap;
                  gap: 0.45rem;
                }

                .chip {
                  display: inline-flex;
                  align-items: center;
                  height: 30px;
                  padding: 0 0.75rem;
                  border-radius: 999px;
                  border: 1px solid var(--border);
                  background: var(--surface-2);
                  color: #c7d5e8;
                  font-size: 0.82rem;
                }

                .insight-list {
                  margin: 0;
                  padding-left: 1rem;
                  color: var(--muted);
                  font-size: 0.92rem;
                }

                .insight-list li+li {
                  margin-top: 0.45rem;
                }

                .trend-hero {
                  text-align: center;
                  padding: 1rem 0;
                }

                .trend-arrow {
                  font-size: 2rem;
                  line-height: 1;
                  margin-bottom: 0.35rem;
                }

                .trend-hero .trend-title {
                  font-size: 1.5rem;
                  font-weight: 700;
                  margin: 0;
                }

                .trend-hero .trend-meta {
                  margin-top: 0.75rem;
                  font-size: 0.88rem;
                  color: var(--muted);
                }

                .trend-up {
                  color: var(--neon);
                }

                .trend-down {
                  color: #f87171;
                }

                .trend-flat {
                  color: #fbbf24;
                }

                .product-lines {
                  font-size: 0.92rem;
                  color: var(--muted);
                }

                .product-lines p {
                  margin: 0 0 0.5rem;
                }

                .product-lines strong {
                  color: var(--text);
                }

                .bar {
                  height: 8px;
                  background: #0b1220;
                  border: 1px solid var(--border);
                  border-radius: 999px;
                  overflow: hidden;
                }

                .bar>span {
                  display: block;
                  height: 100%;
                  background: linear-gradient(90deg, #ff7a59, var(--accent));
                  width: 0;
                }

                .bar>span.score-low {
                  background: linear-gradient(90deg, #f87171, #ef4444);
                }

                .bar>span.score-mid {
                  background: linear-gradient(90deg, #fcd34d, #f59e0b);
                }

                .bar>span.score-high {
                  background: linear-gradient(90deg, #4ade80, #22c55e);
                }

                .rating-row {
                  display: grid;
                  grid-template-columns: 42px 1fr 40px;
                  align-items: center;
                  gap: 0.5rem;
                  margin-bottom: 0.45rem;
                  font-size: 0.85rem;
                }

                .muted {
                  color: var(--muted);
                }

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

                /* Recent */
                .recent-section {
                  margin-top: 2rem;
                }

                .recent-head {
                  display: flex;
                  align-items: center;
                  justify-content: space-between;
                  margin-bottom: 0.75rem;
                }

                .recent-head h2 {
                  margin: 0;
                  font-size: 1rem;
                  font-weight: 600;
                }

                .recent-list {
                  display: flex;
                  flex-direction: column;
                  gap: 0.5rem;
                }

                .recent-row {
                  display: flex;
                  align-items: center;
                  gap: 0.85rem;
                  width: 100%;
                  text-align: left;
                  padding: 0.75rem 1rem;
                  border-radius: var(--radius);
                  border: 1px solid var(--border);
                  background: var(--surface);
                  cursor: pointer;
                  font: inherit;
                  color: inherit;
                  transition: border-color 0.15s, box-shadow 0.15s;
                }

                .recent-row:hover {
                  border-color: rgba(249, 115, 22, 0.45);
                  box-shadow: 0 0 20px var(--accent-glow);
                }

                .recent-score {
                  min-width: 44px;
                  height: 44px;
                  border-radius: 12px;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  font-weight: 800;
                  font-size: 0.95rem;
                  flex-shrink: 0;
                }

                .recent-score.low {
                  background: rgba(248, 113, 113, 0.18);
                  color: #fecaca;
                }

                .recent-score.mid {
                  background: rgba(251, 191, 36, 0.18);
                  color: #fde68a;
                }

                .recent-score.high {
                  background: rgba(74, 222, 128, 0.18);
                  color: #bbf7d0;
                }

                .recent-body {
                  flex: 1;
                  min-width: 0;
                }

                .recent-title {
                  font-weight: 600;
                  font-size: 0.95rem;
                  white-space: nowrap;
                  overflow: hidden;
                  text-overflow: ellipsis;
                }

                .recent-sub {
                  font-size: 0.8rem;
                  color: var(--muted);
                  margin-top: 0.15rem;
                }

                .recent-action {
                  font-size: 0.85rem;
                  font-weight: 600;
                  color: var(--accent);
                  flex-shrink: 0;
                }

                footer {
                  margin-top: 2.5rem;
                  padding-top: 1.5rem;
                  text-align: center;
                  font-size: 0.82rem;
                  color: var(--muted);
                  border-top: 1px solid var(--border);
                }

                footer .tag {
                  margin-top: 0.35rem;
                  font-size: 0.78rem;
                  opacity: 0.9;
                }

                /* ===== UI override (match mock) ===== */
                body {
                  background:
                    radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.12), transparent 50%),
                    radial-gradient(circle at 70% 40%, rgba(249, 115, 22, 0.10), transparent 55%),
                    radial-gradient(circle at 40% 75%, rgba(74, 222, 128, 0.08), transparent 55%),
                    var(--bg);
                }

                body::before {
                  content: "";
                  position: fixed;
                  inset: 0;
                  pointer-events: none;
                  background-image:
                    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.22) 50%, transparent 51%),
                    radial-gradient(1px 1px at 70% 20%, rgba(255, 255, 255, 0.18) 50%, transparent 51%),
                    radial-gradient(1px 1px at 80% 70%, rgba(255, 255, 255, 0.18) 50%, transparent 51%),
                    radial-gradient(1px 1px at 35% 80%, rgba(255, 255, 255, 0.16) 50%, transparent 51%),
                    radial-gradient(1px 1px at 55% 55%, rgba(255, 255, 255, 0.14) 50%, transparent 51%);
                  opacity: 0.75;
                  filter: blur(0.1px);
                  mix-blend-mode: screen;
                }

                .search-row {
                  max-width: 1080px;
                  margin-left: 0;
                  margin-right: 0;
                }

                .hero-actions {
                  display: none;
                }

                .search-row {
                  display: grid;
                  grid-template-columns: 1fr auto auto;
                }

                .search-row input {
                  background: rgba(9, 12, 18, 0.55);
                  backdrop-filter: blur(12px);
                }

                .btn-ghost {
                  height: 52px;
                  padding: 0 1.25rem;
                  border-radius: var(--radius);
                  background: rgba(18, 22, 33, 0.55);
                  backdrop-filter: blur(12px);
                }

                .pill {
                  font-size: 0.72rem;
                  padding: 0.15rem 0.5rem;
                  border-radius: 999px;
                  border: 1px solid var(--border);
                  color: var(--muted);
                  background: rgba(9, 12, 18, 0.35);
                }

                .recent-table {
                  width: 100%;
                  border-collapse: collapse;
                  overflow: hidden;
                  border-radius: var(--radius);
                  border: 1px solid var(--border);
                  background: rgba(18, 22, 33, 0.55);
                  backdrop-filter: blur(14px);
                  table-layout: fixed;
                }

                .recent-table th,
                .recent-table td {
                  padding: 0.85rem 0.9rem;
                  border-bottom: 1px solid rgba(82, 98, 125, 0.18);
                  text-align: left;
                  font-size: 0.9rem;
                  color: rgba(241, 245, 249, 0.88);
                  vertical-align: middle;
                }

                .recent-table th {
                  font-size: 0.78rem;
                  text-transform: uppercase;
                  letter-spacing: 0.08em;
                  color: rgba(241, 245, 249, 0.55);
                }

                /* .recent-table th:nth-child(1),
                .recent-table td:nth-child(1) {
                  width: 58%;
                } */

                .recent-table th:nth-child(2),
                .recent-table td:nth-child(2) {
                  width: 6%;
                }

                .recent-table th:nth-child(3),
                .recent-table td:nth-child(3) {
                  width: 24%;
                }

                .recent-table th:nth-child(4),
                .recent-table td:nth-child(4) {
                  width: 12%;
                }

                .recent-prod {
                  display: flex;
                  align-items: center;
                  gap: 0.75rem;
                  min-width: 0;
                }

                .recent-badge {
                  min-width: 34px;
                  height: 22px;
                  border-radius: 7px;
                  display: inline-flex;
                  align-items: center;
                  justify-content: center;
                  font-weight: 900;
                  font-size: 0.78rem;
                  border: 1px solid var(--border);
                  background: rgba(9, 12, 18, 0.35);
                  color: rgba(241, 245, 249, 0.85);
                }

                .recent-badge.low {
                  border-color: rgba(248, 113, 113, 0.35);
                  color: #fecaca;
                }

                .recent-badge.mid {
                  border-color: rgba(251, 191, 36, 0.35);
                  color: #fde68a;
                }

                .recent-badge.high {
                  border-color: rgba(74, 222, 128, 0.35);
                  color: #bbf7d0;
                }

                .recent-name {
                  font-weight: 800;
                  white-space: nowrap;
                  overflow: hidden;
                  text-overflow: ellipsis;
                }

                .recent-name a {
                  color: #f8fbff;
                }

                .recent-name a:hover {
                  color: #ffffff;
                  text-decoration: underline;
                }

                .recent-platform {
                  font-size: 0.78rem;
                  color: var(--muted);
                  margin-top: 0.15rem;
                }

                .recent-desc {
                  margin-top: 0.2rem;
                  font-size: 0.8rem;
                  color: #d5e3f7;
                  line-height: 1.45;
                  line-clamp: 2;
                  display: -webkit-box;
                  -webkit-line-clamp: 2;
                  -webkit-box-orient: vertical;
                  overflow: hidden;
                }

                .trend-cell {
                  display: inline-flex;
                  align-items: center;
                  gap: 0.35rem;
                  color: rgba(241, 245, 249, 0.75);
                  font-size: 0.82rem;
                }

                .trend-dot {
                  width: 8px;
                  height: 8px;
                  border-radius: 999px;
                  display: inline-block;
                }

                .trend-dot.up {
                  background: var(--neon);
                }

                .trend-dot.down {
                  background: #f87171;
                }

                .trend-dot.flat {
                  background: #fbbf24;
                }

                .recent-action-btn {
                  padding: 0.35rem 0.75rem;
                  border-radius: 10px;
                  border: 1px solid var(--border);
                  background: rgba(9, 12, 18, 0.35);
                  color: rgba(241, 245, 249, 0.9);
                  font: inherit;
                  font-weight: 900;
                  cursor: pointer;
                }

                .recent-action-btn:hover {
                  border-color: rgba(249, 115, 22, 0.35);
                }

                a.recent-action-btn {
                  display: inline-flex;
                  align-items: center;
                  justify-content: center;
                  text-decoration: none;
                }

                .seo-link-cluster {
                  margin-top: 1rem;
                  border-top: 1px solid rgba(130, 162, 201, 0.18);
                  padding-top: 0.9rem;
                }

                .seo-link-cluster p {
                  margin: 0 0 0.6rem;
                  color: #d5e3f7;
                  font-size: 0.9rem;
                }

                .seo-link-list {
                  margin: 0;
                  padding-left: 1.5rem;
                  color: #d5e3f7;
                }

                .seo-link-list li+li {
                  margin-top: 0.45rem;
                }

                .seo-link-list a {
                  color: #f8fbff;
                  font-weight: 700;
                }

                .seo-link-list a:hover {
                  text-decoration: underline;
                }

                .seo-content {
                  border-radius: var(--radius);
                  margin-top: 1rem;
                  padding: 1.25rem;
                  border: 1px solid var(--border);
                  background: rgba(12, 18, 30, 0.72);
                }

                .seo-content h2,
                .seo-content h3 {
                  margin: 0 0 0.6rem;
                }

                .seo-content h3 {
                  margin-top: 1rem;
                  font-size: 1rem;
                }

                .seo-content p {
                  margin: 0.45rem 0;
                  color: #d5e3f7;
                }

                .seo-content ul {
                  margin: 0.4rem 0 0;
                  padding-left: 1.5rem;
                  color: #d5e3f7;
                }

                .quick-links {
                  display: flex;
                  flex-wrap: wrap;
                  gap: 0.55rem;
                  margin-top: 0.8rem;
                }

                .quick-links a {
                  padding: 0.35rem 0.75rem;
                  border-radius: 999px;
                  border: 1px solid rgba(140, 176, 218, 0.45);
                  background: rgba(10, 16, 28, 0.7);
                  color: #f0f7ff;
                  font-size: 0.82rem;
                  font-weight: 600;
                }

                @media (max-width: 980px) {
                  .site-header {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 0.7rem;
                  }

                  .nav {
                    width: 100%;
                    flex-wrap: wrap;
                    gap: 0.7rem 1rem;
                    font-size: 0.85rem;
                  }

                  .wrap {
                    padding-top: 1.2rem;
                  }

                  .hero-landing {
                    text-align: left;
                    padding-top: 0.5rem;
                  }

                  .hero-sub,
                  .hero-hint {
                    max-width: 100%;
                  }

                  .search-row {
                    grid-template-columns: 1fr;
                    gap: 0.65rem;
                  }

                  .search-row input,
                  .btn-analyze,
                  .btn-ghost {
                    width: 100%;
                    min-height: 48px;
                  }

                  .btn-analyze,
                  .btn-ghost {
                    justify-content: center;
                  }
                }

                @media (max-width: 768px) {
                  .site-header {
                    padding: 0.85rem 0.85rem 0;
                  }

                  .wrap {
                    padding: 1rem 0.85rem 2rem;
                  }

                  .hero-landing h1 {
                    font-size: 1.45rem;
                    line-height: 1.3;
                  }

                  .hero-sub {
                    font-size: 0.94rem;
                  }

                  .powered-badge {
                    font-size: 0.7rem;
                  }

                  .quick-links a {
                    font-size: 0.78rem;
                    padding: 0.33rem 0.62rem;
                  }

                  .recent-list {
                    overflow-x: visible;
                  }

                  .recent-table {
                    border: none;
                    background: transparent;
                  }

                  .recent-table thead {
                    display: none;
                  }

                  .recent-table tbody {
                    display: block;
                  }

                  .recent-table tr {
                    display: grid;
                    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1.1fr) minmax(0, 0.5fr);
                    grid-template-areas:
                      "content content content"
                      "score trend action";
                    margin-bottom: 0.65rem;
                    border: 1px solid var(--border);
                    border-radius: var(--radius);
                    background: rgba(18, 22, 33, 0.55);
                    backdrop-filter: blur(14px);
                    overflow: hidden;
                  }

                  .recent-table td {
                    border-bottom: none;
                    border-right: 1px solid rgba(82, 98, 125, 0.18);
                    padding: 0.55rem 0.65rem;
                    min-width: 0;
                  }

                  .recent-table td:nth-child(1) {
                    grid-area: content;
                    border-right: none;
                    border-bottom: 1px solid rgba(82, 98, 125, 0.18);
                    padding: 0.7rem 0.8rem 0.6rem;
                  }

                  .recent-table td:nth-child(2) {
                    grid-area: score;
                  }

                  .recent-table td:nth-child(3) {
                    grid-area: trend;
                  }

                  .recent-table td:nth-child(4) {
                    grid-area: action;
                    border-right: none;
                  }

                  .recent-table td:not(:first-child) {
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                    gap: 0.3rem;
                    font-size: 0.82rem;
                  }

                  .recent-table td:nth-child(4) {
                    justify-content: flex-end;
                  }

                  .recent-table td:nth-child(2)::before,
                  .recent-table td:nth-child(3)::before {
                    color: var(--muted);
                    font-size: 0.72rem;
                    font-weight: 600;
                    margin-right: 0.15rem;
                    white-space: nowrap;
                  }

                  .recent-table td .trend-cell {
                    white-space: nowrap;
                  }

                  .recent-table td:nth-child(2)::before {
                    content: "Score:";
                  }

                  .recent-table td:nth-child(3)::before {
                    content: "Trend:";
                  }

                  .recent-prod {
                    gap: 0.55rem;
                  }

                  .recent-name {
                    font-size: 0.92rem;
                    line-height: 1.3;
                    white-space: normal;
                    overflow: visible;
                    text-overflow: initial;
                  }

                  .recent-platform {
                    font-size: 0.74rem;
                  }

                  .recent-desc {
                    margin-top: 0.15rem;
                    font-size: 0.76rem;
                    line-height: 1.35;
                  }

                  .recent-action-btn {
                    width: auto;
                    min-width: 44px;
                    flex-shrink: 0;
                    padding: 0.3rem 0.6rem;
                    font-size: 0.78rem;
                    text-align: center;
                  }
                }

                @media (max-width: 480px) {
                  .brand-name {
                    font-size: 0.96rem;
                  }

                  .nav {
                    gap: 0.55rem 0.85rem;
                    font-size: 0.8rem;
                  }

                  .hero-landing h1 {
                    font-size: 1.28rem;
                  }

                  .search-row input::placeholder {
                    font-size: 0.84rem;
                  }

                  .recent-table td {
                    padding: 0.6rem 0.72rem;
                  }
                }

                /* Contrast boost */
                :root {
                  --bg: #060a12;
                  --text: #f8fbff;
                  --muted: #c7d8ef;
                  --border: rgba(130, 162, 201, 0.38);
                  --surface: rgba(12, 18, 30, 0.78);
                  --surface-2: rgba(7, 12, 22, 0.65);
                  --accent-glow: rgba(249, 115, 22, 0.42);
                }

                body {
                  color: var(--text);
                  background:
                    radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.16), transparent 50%),
                    radial-gradient(circle at 70% 40%, rgba(249, 115, 22, 0.14), transparent 55%),
                    radial-gradient(circle at 40% 75%, rgba(74, 222, 128, 0.1), transparent 55%),
                    var(--bg);
                }

                .dash-card,
                .mini,
                .recent-table,
                .recent-table tr {
                  background: rgba(12, 18, 30, 0.78) !important;
                  border-color: rgba(130, 162, 201, 0.35) !important;
                  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
                }

                .hero-sub,
                .hero-hint,
                .sub,
                .subval,
                .recent-platform,
                .product-lines p,
                .status,
                .hint {
                  color: #d5e3f7 !important;
                }

                .card-head h2,
                .mini h4,
                .recent-name,
                .table th,
                .table td,
                .product-lines strong,
                .val {
                  color: #f8fbff !important;
                }

                .chip,
                .pill,
                .copy,
                .recent-action-btn,
                .btn-ghost,
                .btn-link {
                  border-color: rgba(140, 176, 218, 0.45) !important;
                  color: #f0f7ff !important;
                  background: rgba(10, 16, 28, 0.7) !important;
                }

                .trend-cell {
                  color: #e2efff !important;
                }

                .table th {
                  color: #d7e6fa !important;
                }

                .table td {
                  color: #f0f7ff !important;
                }

                footer,
                footer .tag {
                  color: #cbdcf3 !important;
                }

                /* Product analysis color accents */
                .platform-highlight {
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  gap: 0.55rem;
                  padding: 0;
                }

                .platform-highlight span {
                  color: #f8fbff;
                  font-size: 0.82rem;
                  font-weight: 600;
                }

                .platform-highlight strong {
                  color: #22d3ee;
                  font-size: 0.9rem;
                }

                .platform-highlight.platform-shopee {
                  border: 0;
                  background: transparent;
                  box-shadow: none;
                }

                .platform-highlight.platform-shopee span { color: #f8fbff; }
                .platform-highlight.platform-shopee strong { color: #fb923c; }

                .platform-highlight.platform-tiktok {
                  border: 0;
                  background: transparent;
                  box-shadow: none;
                }

                .platform-highlight.platform-tiktok span { color: #f8fbff; }
                .platform-highlight.platform-tiktok strong {
                  color: #fff;
                  text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55;
                }

                .analysis-back-wrap {
                  margin-top: 1.05rem;
                }

                .analysis-back-btn {
                  display: inline-flex;
                  align-items: center;
                  gap: 0.55rem;
                  padding: 0.72rem 1.05rem;
                  border: 1px solid rgba(34, 211, 238, 0.65);
                  border-radius: 10px;
                  color: #ecfeff;
                  font-size: 0.9rem;
                  font-weight: 700;
                  background: linear-gradient(135deg, rgba(8, 145, 178, 0.9), rgba(79, 70, 229, 0.9));
                  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.16);
                  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
                }

                .analysis-back-btn:hover {
                  color: #fff;
                  border-color: #67e8f9;
                  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.28);
                  transform: translateY(-2px);
                }

                .score-card {
                  position: relative;
                  overflow: hidden;
                  border-color: rgba(129, 140, 248, 0.52) !important;
                  background: linear-gradient(145deg, rgba(99, 102, 241, 0.16), rgba(12, 18, 30, 0.82) 58%) !important;
                  box-shadow: 0 10px 32px rgba(79, 70, 229, 0.16) !important;
                }

                .score-card::before,
                .trend-card::before {
                  content: "";
                  position: absolute;
                  inset: 0 auto 0 0;
                  width: 3px;
                  border-radius: 3px;
                }

                .score-card::before {
                  background: #818cf8;
                  box-shadow: 0 0 14px #818cf8;
                }

                .score-card h3 {
                  border-bottom-color: rgba(129, 140, 248, 0.3);
                }

                .score-ring-label {
                  color: #ffffff;
                }

                .score-ring-label strong {
                  margin-left: 0.25rem;
                  color: #ffffff;
                  font-size: 2.15rem;
                  line-height: 1;
                  text-shadow: 0 0 22px rgba(129, 140, 248, 0.42);
                }

                .score-ring-label small {
                  margin-left: 0.2rem;
                  color: #ffffff;
                  font-size: 0.78rem;
                  font-weight: 600;
                }

                .revenue-highlight {
                  display: flex;
                  align-items: center;
                  gap: 0.5rem;
                  margin-top: 0.9rem;
                  padding: 0.48rem 0.7rem;
                  border: 1px solid rgba(251, 191, 36, 0.3);
                  border-radius: 9px;
                  background: rgba(245, 158, 11, 0.09);
                }

                .revenue-highlight span {
                  color: #fde68a;
                }

                .revenue-highlight strong {
                  color: #fbbf24;
                  font-size: 0.95rem;
                }

                .trend-card {
                  position: relative;
                  overflow: hidden;
                  background: linear-gradient(145deg, rgba(34, 197, 94, 0.12), rgba(12, 18, 30, 0.82) 58%) !important;
                }

                .trend-card.trend-up::before { background: #4ade80; box-shadow: 0 0 14px #4ade80; }
                .trend-card.trend-flat::before { background: #fbbf24; box-shadow: 0 0 14px #fbbf24; }
                .trend-card.trend-down::before { background: #fb7185; box-shadow: 0 0 14px #fb7185; }

                .trend-card.trend-flat {
                  background: linear-gradient(145deg, rgba(245, 158, 11, 0.12), rgba(12, 18, 30, 0.82) 58%) !important;
                }

                .trend-card.trend-down {
                  background: linear-gradient(145deg, rgba(244, 63, 94, 0.12), rgba(12, 18, 30, 0.82) 58%) !important;
                }

                .trend-card.trend-up { border-color: rgba(74, 222, 128, 0.5) !important; }
                .trend-card.trend-flat { border-color: rgba(251, 191, 36, 0.5) !important; }
                .trend-card.trend-down { border-color: rgba(251, 113, 133, 0.5) !important; }

                .trend-card .trend-title {
                  color: currentColor;
                  letter-spacing: 0.04em;
                }

                .keywords-card,
                .insights-card,
                .product-info-card,
                .suggestions-card {
                  position: relative;
                  overflow: hidden;
                }

                .keywords-card::before,
                .insights-card::before,
                .product-info-card::before,
                .suggestions-card::before {
                  content: "";
                  position: absolute;
                  inset: 0 auto 0 0;
                  width: 3px;
                  border-radius: 3px;
                }

                .keywords-card {
                  background: linear-gradient(120deg, rgba(14, 165, 233, 0.11), rgba(12, 18, 30, 0.82) 48%) !important;
                }
                .keywords-card::before { background: #38bdf8; box-shadow: 0 0 14px #38bdf8; }
                .keywords-card h3 { color: #7dd3fc; border-bottom-color: rgba(56, 189, 248, 0.26); }

                .insights-card {
                  background: linear-gradient(120deg, rgba(168, 85, 247, 0.11), rgba(12, 18, 30, 0.82) 48%) !important;
                }
                .insights-card::before { background: #c084fc; box-shadow: 0 0 14px #c084fc; }
                .insights-card h3 { color: #d8b4fe; border-bottom-color: rgba(192, 132, 252, 0.26); }

                .product-info-card {
                  background: linear-gradient(120deg, rgba(6, 182, 212, 0.11), rgba(12, 18, 30, 0.82) 48%) !important;
                }
                .product-info-card::before { background: #22d3ee; box-shadow: 0 0 14px #22d3ee; }
                .product-info-card h3 { color: #67e8f9; border-bottom-color: rgba(34, 211, 238, 0.26); }

                .product-info-card .platform-highlight {
                  justify-content: flex-start;
                  width: 100%;
                  margin: 0 0 0.5rem;
                }

                .product-info-card .platform-highlight.platform-shopee strong {
                  color: #fb923c !important;
                  text-shadow: none;
                }

                .product-info-card .platform-highlight.platform-tiktok strong {
                  color: #fff !important;
                  text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55;
                }

                .suggestions-card {
                  background: linear-gradient(120deg, rgba(245, 158, 11, 0.11), rgba(12, 18, 30, 0.82) 48%) !important;
                }
                .suggestions-card::before { background: #fbbf24; box-shadow: 0 0 14px #fbbf24; }
                .suggestions-card h3 { color: #fde68a; border-bottom-color: rgba(251, 191, 36, 0.26); }

                /* Restrained home palette: cyan primary, orange accent */
                :is(.home-page, .product-analysis-page) .score-card,
                :is(.home-page, .product-analysis-page) .keywords-card,
                :is(.home-page, .product-analysis-page) .insights-card,
                :is(.home-page, .product-analysis-page) .product-info-card,
                :is(.home-page, .product-analysis-page) .suggestions-card {
                  background: linear-gradient(120deg, rgba(34, 211, 238, 0.08), rgba(12, 18, 30, 0.82) 48%) !important;
                  border-color: rgba(77, 142, 174, 0.46) !important;
                }

                :is(.home-page, .product-analysis-page) .score-card::before,
                :is(.home-page, .product-analysis-page) .keywords-card::before,
                :is(.home-page, .product-analysis-page) .insights-card::before,
                :is(.home-page, .product-analysis-page) .product-info-card::before,
                :is(.home-page, .product-analysis-page) .suggestions-card::before {
                  background: #22d3ee;
                  box-shadow: 0 0 12px rgba(34, 211, 238, 0.75);
                }

                :is(.home-page, .product-analysis-page) .score-card h3,
                :is(.home-page, .product-analysis-page) .keywords-card h3,
                :is(.home-page, .product-analysis-page) .insights-card h3,
                :is(.home-page, .product-analysis-page) .product-info-card h3,
                :is(.home-page, .product-analysis-page) .suggestions-card h3 {
                  color: #a5f3fc;
                  border-bottom-color: rgba(34, 211, 238, 0.22);
                }

                :is(.home-page, .product-analysis-page) .score-ring-label,
                :is(.home-page, .product-analysis-page) .score-ring-label strong {
                  color: #67e8f9;
                  text-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
                }

                :is(.home-page, .product-analysis-page) .recent-head {
                  padding-left: 0.75rem;
                  border-left: 3px solid #22d3ee;
                }

                :is(.home-page, .product-analysis-page) .recent-head h2,
                :is(.home-page, .product-analysis-page) .seo-content h2 {
                  color: #a5f3fc;
                }

                :is(.home-page, .product-analysis-page) .recent-table thead {
                  background: rgba(34, 211, 238, 0.06);
                }

                :is(.home-page, .product-analysis-page) .recent-table tbody tr {
                  transition: background 0.18s ease;
                }

                :is(.home-page, .product-analysis-page) .recent-table tbody tr:hover {
                  background: rgba(34, 211, 238, 0.045);
                }

                :is(.home-page, .product-analysis-page) .recent-action-btn:hover {
                  border-color: rgba(34, 211, 238, 0.65) !important;
                  background: rgba(34, 211, 238, 0.09) !important;
                }

                :is(.home-page, .product-analysis-page) .seo-content {
                  border-color: rgba(77, 142, 174, 0.38);
                  background: linear-gradient(135deg, rgba(34, 211, 238, 0.04), rgba(12, 18, 30, 0.72));
                }

                /* Cached product analysis transition */
                .analysis-loading-screen {
                  display: none;
                }

                .analysis-js .product-analysis-page.analysis-loading {
                  overflow: hidden;
                }

                .analysis-js .home-page.home-analysis-loading {
                  overflow: hidden;
                }

                .analysis-js .product-analysis-page.analysis-loading .analysis-content {
                  visibility: hidden;
                  opacity: 0;
                }

                .analysis-js .product-analysis-page .analysis-loading-screen {
                  position: fixed;
                  z-index: 1000;
                  inset: 0;
                  display: flex;
                  flex-direction: column;
                  align-items: center;
                  justify-content: center;
                  padding: 1.5rem;
                  text-align: center;
                  background:
                    radial-gradient(circle at 50% 42%, rgba(34, 211, 238, 0.12), transparent 28%),
                    radial-gradient(circle at 68% 70%, rgba(249, 115, 22, 0.07), transparent 30%),
                    #060a12;
                  transition: visibility 0.45s ease, opacity 0.45s ease;
                }

                .analysis-js .home-page:is(.home-analysis-loading, .home-analysis-ready) .analysis-loading-screen {
                  position: fixed;
                  z-index: 1000;
                  inset: 0;
                  display: flex;
                  flex-direction: column;
                  align-items: center;
                  justify-content: center;
                  padding: 1.5rem;
                  text-align: center;
                  background:
                    radial-gradient(circle at 50% 42%, rgba(34, 211, 238, 0.12), transparent 28%),
                    radial-gradient(circle at 68% 70%, rgba(249, 115, 22, 0.07), transparent 30%),
                    #060a12;
                  transition: visibility 0.45s ease, opacity 0.45s ease;
                }

                .analysis-js .product-analysis-page.analysis-ready .analysis-loading-screen {
                  visibility: hidden;
                  opacity: 0;
                  pointer-events: none;
                }

                .analysis-js .home-page.home-analysis-ready .analysis-loading-screen {
                  visibility: hidden;
                  opacity: 0;
                  pointer-events: none;
                }

                .analysis-js .home-page.home-analysis-ready #dashboard {
                  animation: analysisReveal 0.55s ease both;
                }

                .analysis-loader-visual {
                  position: relative;
                  width: 112px;
                  height: 112px;
                  margin-bottom: 1.25rem;
                }

                .analysis-loader-core {
                  position: absolute;
                  inset: 42px;
                  border-radius: 50%;
                  background: #22d3ee;
                  box-shadow: 0 0 14px #22d3ee, 0 0 34px rgba(34, 211, 238, 0.55);
                  animation: analysisCorePulse 1.35s ease-in-out infinite;
                }

                .analysis-loader-orbit {
                  position: absolute;
                  border: 1px solid rgba(34, 211, 238, 0.48);
                  border-radius: 50%;
                }

                .analysis-loader-orbit::after {
                  position: absolute;
                  top: 50%;
                  right: -4px;
                  width: 8px;
                  height: 8px;
                  border-radius: 50%;
                  content: "";
                  background: #fb923c;
                  box-shadow: 0 0 12px rgba(251, 146, 60, 0.8);
                }

                .analysis-loader-orbit-one {
                  inset: 12px;
                  animation: analysisOrbit 2s linear infinite;
                }

                .analysis-loader-orbit-two {
                  inset: 0;
                  border-color: rgba(34, 211, 238, 0.18);
                  animation: analysisOrbit 3.2s linear infinite reverse;
                }

                .analysis-loading-kicker {
                  margin: 0 0 0.45rem;
                  color: #67e8f9;
                  font-size: 0.78rem;
                  font-weight: 700;
                  letter-spacing: 0.14em;
                  text-transform: uppercase;
                }

                .analysis-loading-screen h2 {
                  margin: 0;
                  color: #f8fbff;
                  font-size: clamp(1.25rem, 3vw, 1.75rem);
                }

                .analysis-loading-status {
                  min-height: 1.5rem;
                  margin: 0.7rem 0 1rem;
                  color: #c7d8ef;
                  font-size: 0.9rem;
                }

                .analysis-loading-progress {
                  width: min(300px, 76vw);
                  height: 4px;
                  overflow: hidden;
                  border-radius: 999px;
                  background: rgba(130, 162, 201, 0.18);
                }

                .analysis-loading-progress span {
                  display: block;
                  width: 45%;
                  height: 100%;
                  border-radius: inherit;
                  background: linear-gradient(90deg, transparent, #22d3ee, #fb923c, transparent);
                  animation: analysisProgress 1.25s ease-in-out infinite;
                }

                .analysis-js .product-analysis-page.analysis-ready .analysis-content {
                  animation: analysisReveal 0.55s ease both;
                }

                .analysis-js .product-analysis-page.analysis-ready .dash-card {
                  animation: analysisCardReveal 0.5s ease both;
                }

                .analysis-js .product-analysis-page.analysis-ready .dash-col:nth-child(2) .dash-card {
                  animation-delay: 0.08s;
                }

                @keyframes analysisOrbit { to { transform: rotate(360deg); } }
                @keyframes analysisCorePulse { 50% { transform: scale(1.35); opacity: 0.72; } }
                @keyframes analysisProgress {
                  from { transform: translateX(-110%); }
                  to { transform: translateX(230%); }
                }
                @keyframes analysisReveal {
                  from { opacity: 0; }
                  to { opacity: 1; }
                }
                @keyframes analysisCardReveal {
                  from { opacity: 0; transform: translateY(10px); }
                  to { opacity: 1; transform: translateY(0); }
                }

                @media (prefers-reduced-motion: reduce) {
                  .analysis-loader-core,
                  .analysis-loader-orbit,
                  .analysis-loading-progress span,
                  .analysis-js .product-analysis-page.analysis-ready .analysis-content,
                  .analysis-js .product-analysis-page.analysis-ready .dash-card {
                    animation: none;
                  }
                }

                .status.warning {
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  gap: 0.55rem;
                  width: fit-content;
                  max-width: 100%;
                  margin: 1rem auto 0;
                  padding: 0.62rem 0.85rem;
                  border: 1px solid rgba(251, 113, 133, 0.55);
                  border-radius: 10px;
                  color: #fecdd3 !important;
                  font-weight: 600;
                  background: rgba(159, 18, 57, 0.2);
                  box-shadow: 0 8px 24px rgba(159, 18, 57, 0.12);
                }

                .status.warning::before {
                  display: inline-flex;
                  align-items: center;
                  justify-content: center;
                  flex: 0 0 20px;
                  width: 20px;
                  height: 20px;
                  border-radius: 50%;
                  color: #fff;
                  font-size: 0.75rem;
                  font-weight: 800;
                  content: "!";
                  background: #e11d48;
                }


                @media (max-width: 520px) {
                  .revenue-highlight {
                    flex-direction: column;
                    gap: 0.15rem;
                    text-align: center;
                  }
                }
