/* ==========================================================================
   uuone — Enterprise SaaS Indigo-Violet & Micro-Topology Stylesheet
   Pure Native CSS · Zero Dependencies · Light/Dark Auto + Manual Theme
   ========================================================================== */

:root {
  /* Enterprise SaaS Light Mode (Default) */
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f8f9fc;
  --bg-header: rgba(255, 255, 255, 0.94);
  --bg-toggle: rgba(88, 101, 242, 0.06);
  --bg-toggle-hover: rgba(88, 101, 242, 0.13);
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --border-strong: #d1d5db;

  /* Brand Indigo-Violet Palette */
  --indigo: #5865f2;
  --indigo-hover: #4752c4;
  --violet: #7c5dfa;
  --indigo-soft: rgba(88, 101, 242, 0.08);
  --indigo-glow: rgba(88, 101, 242, 0.24);
  --hero-grad: linear-gradient(135deg, #5865f2 0%, #6860f6 52%, #7c5dfa 100%);

  /* Compliance Notice Strip */
  --compliance-bg: #fce8e8;
  --compliance-border: #f8d0d0;
  --compliance-accent: #dc2626;
  --compliance-text: #7f1d1d;

  /* Semantic */
  --success: #059669;
  --success-soft: rgba(5, 150, 105, 0.1);

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 10px 28px -8px rgba(17, 24, 39, 0.08), 0 2px 6px -2px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 22px 46px -12px rgba(88, 101, 242, 0.18);

  --radius-sharp: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-theme: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                      color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                      border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                      box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-page: #0b0e17;
  --bg-surface: #121726;
  --bg-surface-alt: #161d30;
  --bg-header: rgba(11, 14, 23, 0.9);
  --bg-toggle: rgba(255, 255, 255, 0.07);
  --bg-toggle-hover: rgba(255, 255, 255, 0.14);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --indigo: #6c77ff;
  --indigo-hover: #818aff;
  --violet: #8b72ff;
  --indigo-soft: rgba(108, 119, 255, 0.14);
  --indigo-glow: rgba(108, 119, 255, 0.28);
  --hero-grad: linear-gradient(135deg, #3c46b5 0%, #4e46c8 52%, #5e44cc 100%);

  --compliance-bg: rgba(220, 38, 38, 0.12);
  --compliance-border: rgba(220, 38, 38, 0.28);
  --compliance-accent: #f87171;
  --compliance-text: #fecaca;

  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.14);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 30px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 52px -12px rgba(0, 0, 0, 0.65);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: var(--transition-theme);
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Smooth anchor target pulse animation */
@keyframes sectionFocus {
  0% {
    opacity: 0.65;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.anchor-arrive {
  animation: sectionFocus 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ==========================================================================
   Top Navigation Bar (Crisp Pure White in Light Mode)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background-color: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-theme);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 14px;
}

/* Circular Double-U "uuone" Emblem */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-emblem {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hero-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 3px 10px var(--indigo-glow);
  flex-shrink: 0;
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

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

.nav-links a {
  padding: 7px 11px;
  border-radius: var(--radius-sharp);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--indigo);
  background-color: var(--indigo-soft);
}

.nav-links a.nav-highlight {
  color: var(--indigo);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Refined Glassmorphic Day/Night Toggle Button */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-toggle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  outline: none;
}

.theme-toggle:hover {
  background-color: var(--bg-toggle-hover);
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px var(--indigo-soft);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle svg {
  position: absolute;
  width: 17px;
  height: 17px;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease;
}

.theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  padding: 12px 20px 18px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: var(--radius-sharp);
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
}

.mobile-drawer a:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sharp);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.btn-pill {
  border-radius: var(--radius-full);
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.btn-primary {
  background-color: var(--indigo);
  color: #ffffff;
  box-shadow: 0 4px 14px -2px var(--indigo-glow);
}

.btn-primary:hover {
  background-color: var(--indigo-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px var(--indigo-glow);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background-color: var(--indigo-soft);
}

.btn-hero-solid {
  background-color: #ffffff;
  color: #5865f2;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-sharp);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.14);
}

.btn-hero-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.22);
  background-color: #ffffff;
}

.btn-hero-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-sharp);
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Banner (Periwinkle-Indigo to Royal-Violet + Micro-Topology Parallax)
   ========================================================================== */
.hero {
  position: relative;
  background: var(--hero-grad);
  color: #ffffff;
  padding: 84px 0 74px;
  overflow: hidden;
}

.hero-topology {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  pointer-events: none;
  opacity: 0.34;
  transition: transform 0.25s ease-out;
  will-change: transform;
}

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

.hero-micro-caption {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0 auto 34px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.74);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   Full-Width Soft Blush-Coral Compliance Notice Strip
   ========================================================================== */
.compliance-strip {
  background-color: var(--compliance-bg);
  border-top: 1px solid var(--compliance-border);
  border-bottom: 1px solid var(--compliance-border);
  padding: 14px 0;
  transition: var(--transition-theme);
}

.compliance-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
  font-size: 0.88rem;
  color: var(--compliance-text);
  line-height: 1.55;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--compliance-accent);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 76px 0;
}

.section-alt {
  background-color: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-theme);
}

.section-header {
  text-align: center;
  max-width: 640px;
  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(--indigo);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

/* ==========================================================================
   Core Advantages (3 Visual Cards)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, var(--transition-theme);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--indigo);
}

.feature-visual {
  width: 100%;
  height: 118px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.feature-card h3 {
  font-size: 1.14rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ==========================================================================
   Streaming & AI Support Cards (Separate Anchors & Clean Tech Aesthetics)
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.showcase-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, var(--transition-theme);
}

.showcase-card:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-md);
}

.showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.showcase-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--indigo-soft);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showcase-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background-color: var(--success-soft);
  color: var(--success);
  white-space: nowrap;
}

.showcase-card h3 {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.showcase-card > div > p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.service-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.service-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: var(--radius-sharp);
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Pricing Cards & Realistic Comparison Table
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, var(--transition-theme);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border: 2px solid var(--indigo);
  box-shadow: var(--shadow-lg);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hero-grad);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-amount {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-cycle-note {
  font-size: 0.8rem;
  color: var(--indigo);
  margin-bottom: 20px;
  font-weight: 500;
}

.plan-features {
  list-style: none;
  margin-bottom: 26px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.91rem;
  color: var(--text-secondary);
}

.plan-features svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-theme);
}

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

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.compare-table thead th {
  background-color: var(--bg-surface-alt);
  font-weight: 700;
  color: var(--text-primary);
}

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

.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.compare-table td {
  color: var(--text-secondary);
}

.check-yes {
  color: var(--success);
  font-weight: 700;
}

/* ==========================================================================
   User Reviews
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: var(--transition-theme);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hero-grad);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.91rem;
  font-weight: 700;
  color: var(--text-primary);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, var(--transition-theme);
}

.faq-item[open] {
  border-color: var(--indigo);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

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

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--indigo);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.cta-banner {
  background: var(--hero-grad);
  border-radius: var(--radius-md);
  padding: 46px 32px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 0.98rem;
  opacity: 0.9;
  max-width: 540px;
  margin: 0 auto 26px;
}

/* ==========================================================================
   Footer (Strictly 4 Links Only)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  padding: 34px 0;
  transition: var(--transition-theme);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 4px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--indigo);
}

.footer-copy {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Subpages & Insights Article Layout
   ========================================================================== */
.page-hero {
  background: var(--hero-grad);
  color: #ffffff;
  padding: 58px 0 46px;
}

.page-hero .section-tag {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  max-width: 640px;
}

.doc-section {
  padding: 48px 0 76px;
}

.doc-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  transition: var(--transition-theme);
}

.doc-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.doc-card p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.8;
}

.doc-card p:last-child {
  margin-bottom: 0;
}

.doc-list {
  padding-left: 20px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.75;
}

.insights-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.insights-tag {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background-color: var(--indigo-soft);
  color: var(--indigo);
  font-weight: 600;
}

.sitemap-grid,
.node-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.node-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}

.node-box {
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.node-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.node-box span {
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.sitemap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sitemap-list a {
  color: var(--indigo);
  font-weight: 500;
}

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

/* ==========================================================================
   SEO Insights Hub & Long-Form Article Components
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-summary-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, var(--transition-theme);
}

.article-summary-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--indigo);
}

.article-summary-card.featured-post {
  grid-column: 1 / -1;
  border-left: 4px solid var(--indigo);
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-surface-alt));
}

.article-summary-card h2 {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.article-summary-card h2 a:hover {
  color: var(--indigo);
}

.article-summary-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

.article-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.read-more-link {
  color: var(--indigo);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-more-link:hover {
  text-decoration: underline;
}

/* Article Detail Page */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 14px;
}

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

.article-shell {
  max-width: 860px;
  margin: 0 auto;
}

.toc-box {
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--indigo);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin-bottom: 32px;
  transition: var(--transition-theme);
}

.toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.toc-list {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.93rem;
}

.toc-list a {
  color: var(--indigo);
  font-weight: 500;
}

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

.article-body {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  transition: var(--transition-theme);
}

.article-body h2 {
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.35;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 22px 0 10px;
}

.article-body p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin-bottom: 18px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 9px;
  line-height: 1.8;
  font-size: 0.96rem;
}

.article-body a.inline-link {
  color: var(--indigo);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.callout-box {
  background-color: var(--indigo-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 22px 0;
  font-size: 0.94rem;
  color: var(--text-primary);
  line-height: 1.75;
}

.article-body .table-wrap {
  margin: 20px 0 24px;
}

.article-faq {
  margin-bottom: 32px;
}

.article-faq h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.related-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-theme);
}

.related-box h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.related-item {
  display: block;
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-item:hover {
  border-color: var(--indigo);
  transform: translateY(-2px);
}

.related-item strong {
  display: block;
  font-size: 0.94rem;
  color: var(--text-primary);
  margin-bottom: 5px;
  line-height: 1.45;
}

.related-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .articles-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .article-body {
    padding: 22px 18px;
  }

  .toc-box,
  .related-box {
    padding: 18px 16px;
  }
}

/* ==========================================================================
   Responsive Media Queries (Mobile Single-Column & Finger-Friendly)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .features-grid,
  .pricing-grid,
  .reviews-grid,
  .showcase-grid,
  .sitemap-grid,
  .node-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    height: 62px;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .section {
    padding: 54px 0;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .compliance-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .service-chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card,
  .showcase-card,
  .pricing-card,
  .review-card,
  .doc-card {
    padding: 22px 18px;
  }

  .cta-banner {
    padding: 36px 20px;
  }

  .cta-banner .btn {
    width: 100%;
    min-height: 48px;
  }

  .footer-links {
    gap: 14px 22px;
  }

  .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }
}
