/* ==========================================================================
   KyCloud High-End Business & Price Decision Theme
   Palette: Pearl White (#F8F9FA), Dark Graphite (#12151B), Warm Bronze (#B87333 / #C58B59)
   Pure Native CSS - No External Dependencies
   ========================================================================== */

:root {
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --bg-body: #F8F9FB;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F4F8;
  --bg-dark: #12151C;
  --bg-dark-card: #1A1F29;
  --bg-dark-accent: #232A37;
  
  --text-primary: #12161E;
  --text-secondary: #485263;
  --text-muted: #6B7688;
  --text-inverse: #F8F9FA;
  --text-inverse-muted: #A0ABBD;
  
  --border-light: #E3E7ED;
  --border-subtle: #EDF0F5;
  --border-dark: #293140;
  --border-bronze: #D29A6A;
  
  --bronze-primary: #B87333;
  --bronze-hover: #A26127;
  --bronze-light: #FBF4EE;
  --bronze-glow: rgba(184, 115, 51, 0.15);
  
  --shadow-sm: 0 1px 3px rgba(18, 22, 30, 0.05);
  --shadow-md: 0 4px 16px rgba(18, 22, 30, 0.08);
  --shadow-lg: 0 12px 32px rgba(18, 22, 30, 0.12);
  --shadow-dark: 0 12px 32px rgba(0, 0, 0, 0.35);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--bg-dark);
  color: var(--bronze-primary);
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bronze-primary);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
  scroll-margin-top: calc(var(--nav-height) + 20px);
}
p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: var(--bronze-primary);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a:hover {
  color: var(--bronze-hover);
  text-decoration: underline;
}
img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-group:hover {
  text-decoration: none;
}
.brand-logo-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-logo-img {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 10px;
}
.brand-title-wrap {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
  color: var(--bronze-primary);
  text-decoration: none;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bronze-primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Live Search Component */
.search-form-wrap {
  position: relative;
}
.search-input {
  width: 190px;
  height: 38px;
  padding: 0 12px 0 34px;
  font-size: 0.88rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-body);
  color: var(--text-primary);
  transition: width 0.25s ease, border-color 0.2s ease, background 0.2s ease;
}
.search-input:focus {
  width: 250px;
  outline: none;
  border-color: var(--bronze-primary);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--bronze-glow);
}
.search-icon-wrap {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  color: var(--text-muted);
}
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 320px;
  max-height: 420px;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 1001;
  display: none;
}
.search-results-dropdown.active {
  display: block;
}
.search-result-item {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s ease;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover, .search-result-item:focus {
  background: var(--bg-subtle);
  text-decoration: none;
}
.search-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 4px;
}
.search-item-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-empty {
  padding: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
}

/* Button & CTA System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--bronze-primary);
  color: #FFFFFF;
  border-color: var(--bronze-primary);
  box-shadow: 0 2px 8px rgba(184, 115, 51, 0.25);
}
.btn-primary:hover {
  background: var(--bronze-hover);
  border-color: var(--bronze-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 115, 51, 0.35);
}
.btn-dark {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--border-dark);
}
.btn-dark:hover {
  background: #1C222D;
  border-color: var(--border-bronze);
  color: #FFFFFF;
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}
.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--text-secondary);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.86rem;
  min-height: 38px;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  min-height: 48px;
}

/* ==========================================================================
   Hero Section - Architectural & Price Decision
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #12151D 0%, #181D26 100%);
  color: var(--text-inverse);
  padding: 72px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

/* Pure CSS Architectural Grid & Perspective Lines */
.hero-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 80%);
}
.hero-accent-beam {
  position: absolute;
  top: -150px;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.16) 0%, rgba(18, 21, 29, 0) 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(184, 115, 51, 0.12);
  border: 1px solid rgba(184, 115, 51, 0.35);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #E6B587;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E6B587;
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-inverse-muted);
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Lowest Price Bar - Decision Anchor */
.lowest-price-banner {
  background: rgba(26, 32, 42, 0.85);
  border: 1px solid rgba(184, 115, 51, 0.4);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  max-width: 860px;
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  backdrop-filter: blur(8px);
}
.lowest-info {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.lowest-badge {
  background: var(--bronze-primary);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lowest-details {
  display: flex;
  flex-direction: column;
}
.lowest-price-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}
.lowest-price-val .currency {
  font-size: 1.1rem;
  color: #E6B587;
  margin-right: 2px;
}
.lowest-price-val .period {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-inverse-muted);
}
.lowest-note {
  font-size: 0.82rem;
  color: var(--text-inverse-muted);
}
.lowest-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hero Hot Plan Cards Grid */
.hero-hot-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.hot-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.hot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 115, 51, 0.45);
  box-shadow: var(--shadow-dark);
}
.hot-card.featured {
  background: linear-gradient(180deg, #202633 0%, #1A1F29 100%);
  border-color: var(--border-bronze);
  box-shadow: 0 8px 24px rgba(184, 115, 51, 0.15);
}
.hot-card-flag {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--bronze-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}
.hot-card-header {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 16px;
}
.hot-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.hot-card-target {
  font-size: 0.82rem;
  color: var(--text-inverse-muted);
  line-height: 1.4;
}
.hot-card-price {
  margin-bottom: 16px;
}
.hot-price-main {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}
.hot-price-main .currency {
  font-size: 1.25rem;
  color: #E6B587;
}
.hot-price-main .unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-inverse-muted);
}
.hot-price-alt {
  font-size: 0.8rem;
  color: var(--text-inverse-muted);
  margin-top: 6px;
}
.hot-card-features {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}
.hot-card-features li {
  font-size: 0.86rem;
  color: var(--text-inverse-muted);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hot-card-features li svg {
  width: 16px;
  height: 16px;
  color: #E6B587;
  flex-shrink: 0;
  margin-top: 3px;
}
.hot-card .btn {
  width: 100%;
}
.hot-card .btn-outline {
  background: rgba(184, 115, 51, 0.12);
  color: #E6B587;
  border: 1px solid rgba(230, 181, 135, 0.6);
  font-weight: 700;
}
.hot-card .btn-outline:hover {
  background: var(--bronze-primary);
  color: #FFFFFF;
  border-color: var(--bronze-primary);
  box-shadow: 0 4px 14px rgba(184, 115, 51, 0.35);
}

/* Independence Statement Banner */
.disclaimer-strip {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}
.disclaimer-strip strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Section Layouts & General Components
   ========================================================================== */
.section {
  padding: 64px 0;
}
.section-subtle {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.section-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bronze-primary);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.section-dark .section-title {
  color: #FFFFFF;
}
.section-dark .section-desc {
  color: var(--text-inverse-muted);
}

/* ==========================================================================
   Pricing Decision Matrix Table
   ========================================================================== */
.table-responsive-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}
.pricing-matrix-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}
.pricing-matrix-table caption {
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.pricing-matrix-table th,
.pricing-matrix-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.pricing-matrix-table th {
  white-space: nowrap;
}
.pricing-matrix-table td:last-child,
.pricing-matrix-table td:last-child a,
.pricing-matrix-table .plan-name-cell {
  white-space: nowrap;
}
.pricing-matrix-table thead th {
  background: #F5F7FA;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border-light);
}
.pricing-matrix-table tbody tr:hover {
  background: rgba(184, 115, 51, 0.03);
}
.pricing-matrix-table tr.highlight-row {
  background: rgba(184, 115, 51, 0.05);
}
.pricing-matrix-table .plan-name-cell {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
}
.pricing-matrix-table .price-val {
  font-weight: 700;
  color: var(--bronze-primary);
}
.pricing-matrix-table .badge-inline {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
}
.badge-hot {
  background: var(--bronze-light);
  color: var(--bronze-primary);
  border: 1px solid rgba(184, 115, 51, 0.3);
}
.table-footnote {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0 4px;
}

/* Feature Grid Cards */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bronze-light);
  color: var(--bronze-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Client Support Badges */
.client-platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.platform-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.platform-card:hover {
  transform: translateY(-2px);
  border-color: var(--bronze-primary);
}
.platform-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  color: var(--text-primary);
}
.platform-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.platform-client {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ Accordion (details open native) */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] {
  border-color: var(--bronze-primary);
  box-shadow: var(--shadow-sm);
}
.faq-summary {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--bronze-primary);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-item[open] .faq-summary::after {
  content: "−";
}
.faq-summary:focus-visible {
  outline: 2px solid var(--bronze-primary);
  outline-offset: -2px;
}
.faq-content {
  padding: 0 24px 20px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 14px;
}

/* Knowledge Articles Preview Grid */
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.article-preview-card:hover {
  transform: translateY(-3px);
  border-color: var(--bronze-primary);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.article-card-tag {
  background: var(--bg-subtle);
  color: var(--bronze-primary);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}
.article-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 10px;
}
.article-preview-card:hover .article-card-title {
  color: var(--bronze-primary);
}
.article-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 16px;
}
.article-card-footer {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--bronze-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Article Single Page Template Styles
   ========================================================================== */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.breadcrumbs li::after {
  content: "/";
  margin-left: 8px;
  color: var(--text-muted);
}
.breadcrumbs li:last-child::after {
  content: "";
}
.breadcrumbs a {
  color: var(--text-secondary);
}
.breadcrumbs a:hover {
  color: var(--bronze-primary);
}

.article-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 36px;
}
.article-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.article-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  padding-bottom: 64px;
}
.article-content {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-primary);
}
.article-content h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.article-content h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
}
.article-content p {
  margin-bottom: 1.4rem;
  color: #2D333F;
}
.article-content ul,
.article-content ol {
  margin-bottom: 1.4rem;
  padding-left: 24px;
}
.article-content li {
  margin-bottom: 8px;
  color: #2D333F;
}
.article-content pre {
  background: var(--bg-dark);
  color: #E2E8F0;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  margin: 20px 0;
  border: 1px solid var(--border-dark);
}
.article-content code {
  font-family: var(--font-mono);
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  color: var(--bronze-primary);
  border: 1px solid var(--border-subtle);
}
.article-content pre code {
  background: transparent;
  padding: 0;
  border: none;
  color: inherit;
}
.article-callout {
  background: var(--bronze-light);
  border-left: 4px solid var(--bronze-primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}
.article-callout p {
  margin-bottom: 0;
  font-size: 0.94rem;
  color: #5A391A;
}
.article-callout strong {
  color: var(--bronze-hover);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: block;
}
.sidebar-links a:hover {
  color: var(--bronze-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-inverse-muted);
  border-top: 1px solid var(--border-dark);
  padding: 56px 0 32px;
  margin-top: auto;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 32px;
  margin-bottom: 32px;
}
.footer-brand {
  max-width: 360px;
}
.footer-brand .brand-name {
  color: #FFFFFF;
}
.footer-brand p {
  font-size: 0.84rem;
  color: var(--text-inverse-muted);
  margin-top: 8px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.footer-nav a {
  color: var(--text-inverse-muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.footer-nav a:hover {
  color: #FFFFFF;
}
.footer-bottom {
  text-align: center;
  font-size: 0.78rem;
  color: #717D90;
  line-height: 1.6;
}
.footer-bottom p {
  margin-bottom: 4px;
  color: inherit;
}

/* ==========================================================================
   Responsive Adaptations (360px, 390px, 768px, 1440px)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-hot-plans {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .feature-grid-3,
  .articles-preview-grid {
    grid-template-columns: 1fr;
  }
  .client-platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: auto;
  }
  .site-header {
    height: auto;
    padding: 12px 0;
  }
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .header-right {
    justify-content: center;
  }
  .search-input {
    width: 100%;
  }
  .search-input:focus {
    width: 100%;
  }
  .lowest-price-banner {
    flex-direction: column;
    text-align: center;
  }
  .lowest-info {
    flex-direction: column;
    text-align: center;
  }
  .client-platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
