/* 魔法喵 magicm.cfd - 蓝宝石极简极速科技风 */
:root {
  --bg-dark: #070d1e;
  --bg-card: #0f1c3f;
  --bg-card-hover: #16285a;
  --bg-elevated: #1a2f6c;
  --primary: #2563eb;
  --primary-glow: #3b82f6;
  --primary-light: #60a5fa;
  --secondary: #06b6d4;
  --secondary-glow: #22d3ee;
  --accent: #10b981;
  --accent-glow: #34d399;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(59, 130, 246, 0.22);
  --border-focus: rgba(34, 211, 238, 0.6);
  --shadow-blue: 0 4px 25px rgba(37, 99, 235, 0.28);
  --shadow-cyan: 0 4px 25px rgba(6, 182, 212, 0.28);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container-w: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(6, 182, 212, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 95%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 30, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.brand-name {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-light) 70%, var(--secondary-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 11px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid var(--primary-light);
  color: #bfdbfe;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

nav.main-nav a.highlight-nav {
  color: var(--secondary-glow);
  font-weight: 700;
  padding: 4px 14px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 99, 235, 0.65);
  filter: brightness(1.1);
}

.btn-secondary {
  background: linear-gradient(135deg, #0284c7 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--secondary-glow);
  border: 1px solid var(--secondary);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.2);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(6, 182, 212, 0.4);
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: 12px;
}

/* Hero */
.hero-section {
  padding: 85px 0 65px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid var(--primary-light);
  border-radius: 30px;
  color: #bfdbfe;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.3);
}

.hero-title {
  font-size: 45px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #ffffff 20%, #93c5fd 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  color: #cbd5e1;
  font-weight: 500;
  max-width: 830px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.hero-features-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 28px;
  background: rgba(15, 28, 63, 0.6);
  border: 1px solid var(--border);
  border-radius: 40px;
  max-width: 880px;
  margin: 0 auto;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #e2e8f0;
  font-weight: 600;
}

.hero-feature-item span.icon {
  color: var(--secondary-glow);
}

/* Sections */
.section {
  padding: 85px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-glow);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* 3 Core Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-blue);
  background: var(--bg-card-hover);
}

.advantage-card:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.25));
  border: 1px solid rgba(59, 130, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
}

.advantage-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Media & AI */
.media-ai-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.category-card h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-card p.cat-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.service-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  transition: all 0.25s ease;
}

.service-badge:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: var(--primary-light);
  transform: scale(1.03);
}

.service-badge .badge-logo {
  font-size: 24px;
  margin-bottom: 6px;
}

.service-badge .badge-name {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}

.service-badge .badge-status {
  font-size: 11px;
  color: var(--secondary-glow);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.price-card.featured {
  border-color: var(--primary-light);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.2) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.35);
  transform: translateY(-8px);
}

.price-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5);
}

.price-header h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}

.price-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 40px;
}

.price-amount-box {
  margin: 24px 0 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-glow);
}

.price-num {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.price-features li span.check {
  color: #10b981;
  font-weight: bold;
}

.price-cta {
  margin-top: auto;
}

/* Downloads */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  transition: all 0.3s ease;
}

.download-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
}

.dl-icon {
  font-size: 42px;
  margin-bottom: 16px;
}

.download-card h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.download-card p.req {
  font-size: 13px;
  color: var(--secondary-glow);
  margin-bottom: 18px;
}

.download-card p.note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 20px;
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 12px;
  font-size: 15px;
}

.review-card p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 18px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.reviewer-info h4 {
  font-size: 14px;
  color: #fff;
}

.reviewer-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* FAQ */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-question {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question span.q-icon {
  color: var(--primary-light);
}

.faq-answer {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Footer (STRICTLY 4 links + copyright) */
footer.site-footer {
  background: #040814;
  border-top: 1px solid var(--border);
  padding: 45px 0 35px;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--secondary-glow);
  text-decoration: underline;
}

.footer-copy {
  color: #64748b;
  font-size: 13px;
}

/* Article Styles */
.article-container {
  max-width: 880px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.article-header {
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
}

.article-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.article-title {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.article-body {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 24px;
  color: #fff;
  margin: 38px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary-light);
}

.article-body h3 {
  font-size: 20px;
  color: #f1f5f9;
  margin: 26px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 18px 0 24px 28px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-body th, .article-body td {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  text-align: left;
}

.article-body th {
  background: rgba(37, 99, 235, 0.25);
  color: #fff;
  font-weight: 700;
}

.article-body pre {
  background: #050a18;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  overflow-x: auto;
  margin: 22px 0;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 13.5px;
  color: #38bdf8;
}

.article-body a {
  color: var(--secondary-glow);
  text-decoration: underline;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.25));
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin: 50px 0;
}

.article-cta-box h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}

.article-cta-box p {
  color: #cbd5e1;
  margin-bottom: 20px;
}

/* Hub Grid */
.articles-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hub-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-cyan);
}

.hub-card h3 {
  font-size: 19px;
  margin: 12px 0;
  line-height: 1.45;
}

.hub-card h3 a {
  color: #fff;
  text-decoration: none;
}

.hub-card h3 a:hover {
  color: var(--secondary-glow);
}

.hub-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .advantages-grid,
  .pricing-grid,
  .downloads-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 16px 0;
    flex-direction: column;
    gap: 14px;
  }
  nav.main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .advantages-grid,
  .media-ai-container,
  .pricing-grid,
  .downloads-grid,
  .reviews-grid,
  .articles-hub-grid {
    grid-template-columns: 1fr;
  }
  .service-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }
  .price-card.featured {
    transform: none;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}
/* --- 视觉图片与猫咪形象展示增强样式 --- */
.nav-logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 15px #2563eb;
}
.hero-media-wrap {
  margin: 36px auto 10px;
  max-width: 980px;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(37, 99, 235, 0.4);
  border: 1px solid rgba(37, 99, 235, 0.4);
  background: #0d0d17;
}
.hero-cat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-cat-img:hover {
  transform: scale(1.03);
}
.hero-media-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(10, 10, 20, 0.88);
  backdrop-filter: blur(10px);
  padding: 9px 18px;
  border-radius: 30px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.9rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseLive 2s infinite;
}
@keyframes pulseLive {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.card-media-thumb {
  width: 100%;
  height: 140px;
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a14;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.card-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   深度网络诊断系统与交互式自测工具样式
   ========================================================================== */
.diag-dashboard {
  background: rgba(18, 16, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 30px;
  margin: 30px 0 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}
.diag-dashboard-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.diag-dashboard-header h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.diag-dashboard-header p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}
.diag-config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.diag-select-group label {
  display: block;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 8px;
  font-weight: 600;
}
.diag-select-group select {
  width: 100%;
  padding: 12px 14px;
  background: #0f0d1e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #f8fafc;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s;
}
.diag-select-group select:focus {
  border-color: #06b6d4;
}
.diag-run-btn {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #9333ea, #06b6d4);
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}
.diag-run-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}
.diag-progress-bar {
  display: none;
  margin: 20px 0;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.diag-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #9333ea, #06b6d4, #10b981);
  transition: width 0.3s ease;
}
.diag-log-box {
  display: none;
  background: #090812;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  font-family: monospace;
  font-size: 0.88rem;
  color: #a5b4fc;
  margin: 20px 0;
  max-height: 180px;
  overflow-y: auto;
  line-height: 1.6;
}
.diag-report-panel {
  display: none;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
}
.diag-report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.diag-score-tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}
.score-high { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid #ef4444; }
.score-med { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid #f59e0b; }
.score-low { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid #10b981; }

.diag-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.diag-matrix-item {
  background: rgba(15, 13, 28, 0.7);
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.diag-matrix-item h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.diag-matrix-item p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}
.diag-advice-box {
  background: rgba(147, 51, 234, 0.1);
  border-left: 4px solid #9333ea;
  padding: 16px;
  border-radius: 0 8px 8px 0;
  margin-top: 16px;
}
.diag-advice-box h4 {
  color: #e9d5ff;
  font-size: 1rem;
  margin-bottom: 6px;
}
.diag-advice-box p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}
.region-status-pill {
  display: inline-block;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.pill-good { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.pill-warn { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.pill-bad { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.possibility-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.possibility-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
}
.possibility-card h3 {
  color: #f8fafc;
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.possibility-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.3);
}
