/* TNTCloud | 黑金奢华 × 赛博商务 V1.1 (Dark-Only Pure Native CSS) */
:root {
  --bg: #0A0A0A;
  --surface: #1F1F1F;
  --surface-alt: #141414;
  --hero-bg: #0A0A0A;
  --hero-text: #F8F8F8;
  --hero-muted: #B8B8B8;
  --text: #B8B8B8;
  --text-muted: #B8B8B8;
  --primary: #D4AF37;
  --primary-hover: #FFE9B0;
  --primary-text: #0A0A0A;
  --accent: #FFE9B0;
  --border: rgba(212, 175, 55, 0.24);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.6);
  --max-width: 1120px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  color: #B8B8B8;
  background-color: #0A0A0A;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  color: #F8F8F8;
}

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

a {
  color: #D4AF37;
  text-decoration: none;
}

a:hover {
  color: #FFE9B0;
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid #FFE9B0;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: var(--primary-text);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section[id],
h1[id],
h2[id],
h3[id] {
  scroll-margin-top: 88px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #F8F8F8;
  text-decoration: none;
  min-height: 44px;
}

.brand-logo:hover {
  color: #FFE9B0;
  text-decoration: none;
}

.brand-logo svg rect {
  fill: #1F1F1F;
  stroke: #D4AF37;
  stroke-width: 2;
}

.brand-logo svg path {
  fill: #D4AF37;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  color: #F8F8F8;
  font-weight: 500;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.site-nav a:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #FFE9B0;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary,
.site-nav a.nav-cta {
  background: linear-gradient(135deg, #D4AF37 0%, #FFE9B0 50%, #B88E1E 100%);
  color: #0A0A0A;
  font-weight: 700;
  border: 1px solid rgba(255, 233, 176, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(0, 0, 0, 0.45);
  padding: 0.65rem 1.25rem;
}

.btn-primary:hover,
.site-nav a.nav-cta:hover {
  background: linear-gradient(135deg, #FFE9B0 0%, #D4AF37 55%, #C59B27 100%);
  color: #0A0A0A;
}

.btn-outline {
  background: rgba(31, 31, 31, 0.65);
  color: #FFE9B0;
  border-color: rgba(212, 175, 55, 0.45);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: #FFE9B0;
  color: #FFE9B0;
}

.btn-secondary {
  background: #141414;
  color: #F8F8F8;
  border-color: rgba(212, 175, 55, 0.35);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: #D4AF37;
  color: #FFE9B0;
}

/* Hero Section */
.hero {
  background:
    linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.06) 50%, transparent 100%),
    radial-gradient(ellipse at 75% 25%, rgba(212, 175, 55, 0.11) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(255, 233, 176, 0.06) 0%, transparent 45%),
    repeating-linear-gradient(
      135deg,
      rgba(212, 175, 55, 0.025) 0px,
      rgba(212, 175, 55, 0.025) 1px,
      transparent 1px,
      transparent 48px
    ),
    #0A0A0A;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  color: #F8F8F8;
  padding: var(--space-xl) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  color: #FFE9B0;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.hero h1 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #F8F8F8;
}

.hero-subtitle {
  margin: 0 0 var(--space-md);
  color: #B8B8B8;
  font-size: 1.075rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: var(--space-md);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: #B8B8B8;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #1F1F1F 0%, #0D0D0D 100%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 176, 0.2),
    0 16px 40px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(212, 175, 55, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 233, 176, 0.14) 50%,
    transparent 62%
  );
  transform: translateX(-65%);
  animation: heroGoldSheen 6.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 24px rgba(212, 175, 55, 0.12);
  pointer-events: none;
}

.hero-card:hover {
  border-color: rgba(255, 233, 176, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 176, 0.32),
    0 20px 48px rgba(0, 0, 0, 0.85),
    0 0 36px rgba(212, 175, 55, 0.18);
  transform: translateY(-2px);
}

.hero-card img {
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
  height: auto;
  object-fit: cover;
}

@keyframes heroGoldSheen {
  0%, 15% {
    transform: translateX(-65%);
  }
  50%, 100% {
    transform: translateX(65%);
  }
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
}

.section-header h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #F8F8F8;
}

.section-header p {
  margin: 0;
  color: #B8B8B8;
}

.section-actions {
  margin-top: var(--space-md);
  text-align: center;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.card {
  background: #1F1F1F;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: inset 0 1px 0 rgba(255, 233, 176, 0.08), 0 4px 16px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(255, 233, 176, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 176, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 18px rgba(212, 175, 55, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #141414;
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #F8F8F8;
}

.card p {
  margin: 0;
  color: #B8B8B8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.tag-list li {
  background: #141414;
  color: #F8F8F8;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Pricing Table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #1F1F1F;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 233, 176, 0.08), 0 4px 16px rgba(0, 0, 0, 0.45);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  text-align: left;
}

.pricing-table caption {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  color: #F8F8F8;
  background: #141414;
  border-bottom: 1px solid var(--border);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.pricing-table thead th,
.pricing-table .btn,
.price-val {
  white-space: nowrap;
}

.pricing-table thead th {
  background: #141414;
  font-weight: 700;
  color: #F8F8F8;
}

.pricing-table tbody th {
  color: #F8F8F8;
}

.pricing-table tbody tr:last-child td,
.pricing-table tbody tr:last-child th {
  border-bottom: none;
}

.price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFE9B0;
}

.badge-hot {
  display: inline-block;
  background: rgba(212, 175, 55, 0.18);
  color: #FFE9B0;
  border: 1px solid rgba(212, 175, 55, 0.45);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.35rem;
}

/* Testimonials */
.review-meta {
  font-size: 0.875rem;
  color: #B8B8B8;
  font-weight: 600;
}

.stars {
  color: #D4AF37;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* FAQ with native details/summary */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #1F1F1F;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--radius-md);
  padding: 0.25rem 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 233, 176, 0.08), 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(255, 233, 176, 0.52);
}

.faq-item summary {
  padding: 0.9rem 0;
  font-weight: 700;
  color: #F8F8F8;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: #D4AF37;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 1rem;
  color: #B8B8B8;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
  padding-top: 0.75rem;
}

/* Subpages & Articles */
.page-banner {
  background:
    linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.06) 50%, transparent 100%),
    radial-gradient(ellipse at 75% 25%, rgba(212, 175, 55, 0.11) 0%, transparent 55%),
    #0A0A0A;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  color: #F8F8F8;
  padding: var(--space-lg) 0;
}

.page-banner h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #F8F8F8;
}

.page-banner p {
  margin: 0;
  color: #B8B8B8;
}

.article-body {
  max-width: 820px;
  margin: 0 auto;
  background: #1F1F1F;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: inset 0 1px 0 rgba(255, 233, 176, 0.08), 0 4px 16px rgba(0, 0, 0, 0.45);
}

.article-body h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  color: #F8F8F8;
}

.article-body p,
.article-body li {
  margin: 0 0 1rem;
  color: #B8B8B8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #B8B8B8;
}

.breadcrumb a {
  color: #FFE9B0;
}

/* Footer */
.site-footer {
  background: #0A0A0A;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  color: #B8B8B8;
  padding: var(--space-lg) 0;
  margin-top: var(--space-lg);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: #1F1F1F;
  color: #F8F8F8;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 0.6rem 1rem;
}

.footer-links a:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: #FFE9B0;
  color: #FFE9B0;
  text-decoration: none;
}

.footer-copy {
  text-align: center;
  font-size: 0.875rem;
  color: #B8B8B8;
  margin: 0;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .site-header {
    position: static;
  }

  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .article-body {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card,
  .faq-item,
  .hero-card {
    transition: none;
  }

  .hero-card::before {
    animation: none;
    display: none;
  }

  .hero-card:hover {
    transform: none;
  }
}
