
:root {
  --primary: #f43f5e;
  --primary-dark: #e11d48;
  --primary-light: #fb7185;
  --accent: #f59e0b;
  --bg: #0b0714;
  --bg-tint: #140d24;
  --card: #1a1130;
  --card-hover: #261945;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --text-sub: #cbd5e1;
  --text-light: #94a3b8;
  --radius: 12px;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-family);
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.hg-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & Navigation */
.hg-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 7, 20, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.hg-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.hg-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.hg-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
}

.hg-brand-copy {
  display: flex;
  flex-direction: column;
}

.hg-brand-copy strong {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.hg-brand-copy small {
  font-size: 11px;
  color: var(--primary-light);
  letter-spacing: 0.2px;
}

.hg-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.hg-nav-link {
  font-size: 14px;
  color: var(--text-sub);
  font-weight: 500;
  transition: color 0.2s;
}

.hg-nav-link:hover, .hg-nav-link.active {
  color: var(--primary-light);
}

.hg-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hg-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary) 0%, #d946ef 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hg-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.5);
}

.hg-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.2s;
}

.hg-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(244, 63, 94, 0.08);
}

/* Hero Section */
.hg-hero {
  padding: 32px 0 24px;
  background: radial-gradient(circle at 50% 20%, rgba(217, 70, 239, 0.12) 0%, transparent 70%);
}

.hg-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: 20px;
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hg-hero-title {
  font-size: 2.2rem;
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.hg-hero-title span {
  background: linear-gradient(135deg, #fff 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hg-hero-desc {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hg-hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: #000;
}

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

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

.hg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 7, 20, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.hg-hero-tag {
  align-self: flex-start;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.hg-hero-film-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

/* Sections Common */
.hg-sec {
  padding: 40px 0;
}

.hg-sec--tint {
  background: var(--bg-tint);
}

.hg-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.hg-sec-title-wrap h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hg-sec-title-wrap h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}

.hg-sec-title-wrap p {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

.hg-sec-more {
  font-size: 13px;
  color: var(--primary-light);
  font-weight: 500;
}

/* 4-Column Fruit Cards Grid */
.hg-fruit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hg-fruit-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.hg-fruit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  border-color: rgba(244, 63, 94, 0.4);
}

.hg-fruit-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
  background: #11091f;
}

.hg-fruit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hg-fruit-card:hover .hg-fruit-media img {
  transform: scale(1.04);
}

.hg-fruit-heat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(11, 7, 20, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.hg-fruit-genre {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.hg-fruit-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hg-fruit-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.hg-fruit-body p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.hg-fruit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 0;
  background: rgba(244, 63, 94, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.hg-fruit-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 2-Column Pod Cards */
.hg-pod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hg-pod-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
}

.hg-pod-card:hover {
  background: var(--card-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.hg-pod-media {
  position: relative;
  width: 100px;
  height: 130px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.hg-pod-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hg-pod-no {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hg-pod-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hg-pod-genre {
  display: inline-block;
  font-size: 11px;
  color: var(--primary-light);
  background: rgba(244, 63, 94, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.hg-pod-body p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hg-pod-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 20px;
}

/* Steps Grid */
.hg-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.hg-step-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  position: relative;
}

.hg-step-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hg-step-card h3 {
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.hg-step-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
}

/* Compare Table */
.hg-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  margin-top: 10px;
}

.hg-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.hg-compare-table th, .hg-compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.hg-compare-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
}

.hg-compare-table tr:last-child td {
  border-bottom: none;
}

.hg-compare-table td.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Feature 3-Grid (App / Web / Cloud Perks) */
.hg-perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hg-perk-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hg-perk-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(244, 63, 94, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.hg-perk-card h3 {
  font-size: 17px;
  color: #fff;
  font-weight: 700;
}

.hg-perk-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Cross-Template Matrix Mesh Navigation */
.portal-mesh-section {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.mesh-title {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mesh-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--accent);
  border-radius: 2px;
}

.mesh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.mesh-card {
  background: var(--card);
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mesh-card:hover {
  background: var(--card-hover);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.mesh-tag {
  font-size: 11px;
  color: var(--primary-light);
  font-weight: 600;
}

.mesh-name {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FAQ Accordion */
.hg-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hg-faq-item {
  background: var(--card);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 16px 20px;
}

.hg-faq-q {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.hg-faq-a {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Footer */
.hg-footer {
  background: #07030e;
  border-top: 1px solid var(--border);
  padding: 36px 0 24px;
  margin-top: auto;
  font-size: 12px;
  color: var(--text-light);
}

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

.hg-footer-brand h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
}

.hg-footer-links h5 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 10px;
}

.hg-footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hg-footer-links a:hover {
  color: var(--primary-light);
}

.hg-footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #64748b;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .hg-hero-grid {
    grid-template-columns: 1fr;
  }
  .hg-fruit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hg-steps-grid {
    grid-template-columns: 1fr;
  }
  .hg-perk-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hg-topbar-inner {
    height: 56px;
  }
  .hg-nav-links {
    display: none;
  }
  .hg-hero-title {
    font-size: 1.6rem;
  }
  .hg-fruit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hg-pod-grid {
    grid-template-columns: 1fr;
  }
  .hg-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Breadcrumb Navigation */
.hg-breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-light);
  background: rgba(20, 13, 36, 0.6);
  border-bottom: 1px solid var(--border);
}
.hg-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}
.hg-breadcrumb a {
  color: var(--text-sub);
  transition: color 0.2s;
}
.hg-breadcrumb a:hover {
  color: var(--primary-light);
}
.hg-breadcrumb .sep {
  opacity: 0.4;
  user-select: none;
}
.hg-breadcrumb li.current {
  color: var(--primary-light);
  font-weight: 500;
}
