/* 喵喵云 第2套 - 猫瞳终端系统 全局样式 */
:root {
  --bg: #11161C;
  --bg-secondary: #181E26;
  --surface: #202832;
  --surface-deep: #192129;
  --text: #F2F5F7;
  --body: #BBC4CC;
  --muted: #84909B;
  --deep-blue-black: #182631;
  --eye-cyan: #63ADB0;
  --eye-cyan-soft: #91CDCA;
  --eye-cyan-dark: #477E82;
  --cool-blue: #5F849D;
  --purple-gray: #77758E;
  --purple-gray-dark: #5E5C72;
  --eye-gold: #C6A064;
  --eye-gold-soft: #E0C693;
  --border: #34414B;
  --border-deep: #29353E;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--body);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: var(--body);
  font-size: 1.05rem;
}

a {
  color: var(--eye-cyan-soft);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--text);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--eye-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-deep);
  position: relative;
}

.section-header {
  margin-bottom: 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--eye-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--eye-cyan);
}

.section-title {
  color: var(--text);
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 800px;
  margin-top: 8px;
}

/* Direct Answer Box (GEO Standard) */
.direct-answer-box {
  background: var(--surface);
  border-left: 3px solid var(--eye-cyan);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin-bottom: 32px;
  position: relative;
}

.direct-answer-box::after {
  content: '猫瞳总结';
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
}

.direct-answer-box p {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Common Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(17, 22, 28, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 28px;
  height: 18px;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-size: 0.92rem;
  color: var(--body);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--eye-cyan-soft);
}

.nav-link.active {
  color: var(--eye-cyan-soft);
  font-weight: 600;
}

.nav-link.active::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 10px;
  border-radius: 50%;
  background: var(--eye-cyan);
  margin-right: 6px;
  vertical-align: middle;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--eye-cyan-soft);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.header-cta-btn:hover {
  background: var(--deep-blue-black);
  border-color: var(--eye-cyan);
  color: var(--text);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: flex;
}

/* HERO SECTION - 猫瞳终端封面 */
.hero-section {
  min-height: clamp(700px, 85vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, var(--bg-secondary) 0%, var(--bg) 70%);
  padding: 40px 0 60px 0;
}

.hero-background-art {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 820px;
  height: 480px;
  pointer-events: none;
  z-index: 1;
}

.cat-hero-svg {
  width: 100%;
  height: 100%;
}

/* SVG Animation Elements */
.eyelid {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.eyelid-upper-left, .eyelid-upper-right {
  transform: translateY(-24px);
}
.eyelid-lower-left, .eyelid-lower-right {
  transform: translateY(24px);
}

/* State closed */
.eyes-closed .eyelid-upper-left, .eyes-closed .eyelid-upper-right {
  transform: translateY(0);
}
.eyes-closed .eyelid-lower-left, .eyes-closed .eyelid-lower-right {
  transform: translateY(0);
}

/* State pupils */
.pupil-container {
  transition: transform 0.5s ease-in-out;
}
.pupil-left-state {
  transform: translateX(-10px);
}
.pupil-right-state {
  transform: translateX(10px);
}

/* Ears animation */
.cat-ears polygon {
  transition: transform 0.4s ease;
  transform-origin: center bottom;
}
.ear-left-twitch {
  transform: rotate(-2deg);
}
.ear-right-twitch {
  transform: rotate(2deg);
}

/* Whiskers animation */
.whisker {
  stroke-dasharray: 140;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s ease-in-out;
}
.whiskers-hidden .whisker {
  stroke-dashoffset: 140;
}

/* Floating Knowledge Words */
.floating-word {
  position: absolute;
  z-index: 2;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--eye-cyan-soft);
  background: rgba(24, 38, 49, 0.75);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  animation: floatGentle 6s ease-in-out infinite alternate;
}

.floating-word:hover {
  border-color: var(--eye-cyan);
  color: var(--text);
}

@keyframes floatGentle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

.fw-1 { top: 12%; left: 16%; animation-delay: 0s; }
.fw-2 { top: 10%; right: 16%; animation-delay: 1s; }
.fw-3 { top: 32%; left: 8%; animation-delay: 2s; }
.fw-4 { top: 30%; right: 8%; animation-delay: 1.5s; }
.fw-5 { top: 52%; left: 14%; animation-delay: 0.5s; }
.fw-6 { top: 50%; right: 14%; animation-delay: 2.5s; }
.fw-7 { top: 68%; left: 22%; animation-delay: 1.2s; }
.fw-8 { top: 66%; right: 22%; animation-delay: 0.8s; }

/* Hero Text Content Layout */
.hero-content-wrap {
  position: relative;
  z-index: 3;
  max-width: 860px;
  margin: 220px auto 0 auto;
  text-align: center;
}

.hero-brand-badge {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--eye-gold);
  border: 1px solid var(--eye-gold);
  padding: 4px 14px;
  border-radius: 14px;
  margin-bottom: 16px;
  background: rgba(24, 38, 49, 0.6);
}

.hero-slogan {
  font-size: clamp(22px, 3.5vw, 32px);
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-h1 {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--eye-cyan-soft);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-body {
  font-size: 1.05rem;
  color: var(--body);
  max-width: 760px;
  margin: 0 auto 32px auto;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-cyan {
  background: var(--eye-cyan-dark);
  border: 1px solid var(--eye-cyan);
  color: var(--text);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.btn-primary-cyan:hover {
  background: var(--eye-cyan);
  color: var(--bg);
  box-shadow: 0 0 18px rgba(99, 173, 176, 0.2);
}

.btn-secondary-aff {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--eye-gold);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.btn-secondary-aff:hover {
  border-color: var(--eye-gold);
  background: var(--surface-deep);
  color: var(--eye-gold-soft);
}

.btn-text-review {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 12px 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-text-review:hover {
  color: var(--text);
}

/* SECTION 01 - 四层识别界面 & 表格 */
.four-layer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
}

.four-layer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.3s ease;
}

.four-layer-card:hover {
  border-color: var(--eye-cyan);
}

.layer-num {
  font-size: 0.8rem;
  color: var(--eye-cyan);
  font-weight: 700;
  margin-bottom: 8px;
}

.layer-title {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 12px;
}

.layer-desc {
  font-size: 0.95rem;
  color: var(--body);
}

/* HTML Table Standards */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--surface-deep);
}

table.data-table th {
  background: var(--surface);
  color: var(--eye-cyan-soft);
  padding: 16px 20px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

table.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-deep);
  color: var(--body);
  font-size: 0.95rem;
}

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

/* SECTION 02 - 节点 vs 服务器 (Two Ovals Visual) */
.ovals-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.oval-box {
  flex: 1;
  min-width: 280px;
  max-width: 420px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 120px / 80px;
  padding: 40px 30px;
  text-align: center;
  transition: border-color 0.3s ease;
}

.oval-box:hover {
  border-color: var(--eye-cyan);
}

.oval-badge {
  color: var(--eye-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.oval-title {
  color: var(--text);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.oval-bridge {
  background: var(--deep-blue-black);
  border: 1px solid var(--eye-cyan);
  color: var(--eye-cyan-soft);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

/* SECTION 03 & 04 - 节点地区 & 猫瞳视野词条 */
.vision-arcs-wrap {
  position: relative;
  background: var(--surface-deep);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 30px;
  margin: 32px 0;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

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

.region-item-card h4 {
  color: var(--eye-cyan-soft);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

/* SECTION 06 - 猫瞳焦距层 (4 stacked layers) */
.focus-layers-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 880px;
  margin: 32px auto;
}

.focus-layer-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cool-blue);
  border-radius: 6px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.focus-layer-row:nth-child(4) {
  border-left-color: var(--eye-cyan);
  background: var(--deep-blue-black);
}

.layer-step-name {
  font-weight: 700;
  color: var(--text);
  min-width: 100px;
}

.layer-step-desc {
  color: var(--body);
  font-size: 0.95rem;
  flex: 1;
}

/* SECTION 07 - Clash vs Clash Verge Panels */
.panels-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.panel-cat-eye {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.panel-cat-eye.highlight {
  border-color: var(--eye-cyan);
}

/* SECTION 08 - 四条视线层 (Device systems) */
.sight-layers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.sight-layer-card {
  background: var(--surface-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.sight-layer-card h4 {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* SECTION 09 - DNS & Proxy Bridge Eyes */
.bridge-eyes-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.bridge-eye-side {
  flex: 1;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

/* SECTION 10 - AI & Streaming Double Focus */
.double-focus-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.focus-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.focus-tag-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.focus-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--eye-cyan-soft);
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 14px;
}

/* SECTION 11 - Concept Misunderstandings List */
.misunderstandings-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0;
}

.misunderstanding-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.concept-a, .concept-b {
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.not-equal-symbol {
  color: var(--eye-gold);
  font-size: 1.3rem;
  font-weight: 800;
  padding: 0 8px;
}

/* SECTION 12 - Core Review Spotlight */
.review-spotlight-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--deep-blue-black) 100%);
  border: 1px solid var(--eye-cyan);
  border-radius: 12px;
  padding: 40px;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* SECTION 13 - 猫瞳刻度价目 (Pricing horizontal rhythm) */
.pricing-ticks-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 40px 0;
}

.pricing-tick-row {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 28px;
  position: relative;
  transition: all 0.25s ease;
}

/* Staggered visual offsets */
.pricing-tick-row:nth-child(1) { margin-left: 0%; }
.pricing-tick-row:nth-child(2) { margin-left: 3%; }
.pricing-tick-row:nth-child(3) { margin-left: 6%; border-color: var(--eye-cyan); background: var(--deep-blue-black); }
.pricing-tick-row:nth-child(4) { margin-left: 4%; }
.pricing-tick-row:nth-child(5) { margin-left: 1%; }

.tick-mark {
  font-size: 1.2rem;
  color: var(--eye-cyan);
  font-weight: 700;
  margin-right: 20px;
  font-family: monospace;
}

.pricing-featured-tag {
  background: var(--eye-gold);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  margin-right: 16px;
}

.plan-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  min-width: 100px;
}

.plan-data {
  font-size: 1rem;
  color: var(--eye-cyan-soft);
  min-width: 100px;
}

.plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  min-width: 120px;
}

.plan-cta-btn {
  background: var(--surface-deep);
  border: 1px solid var(--border);
  color: var(--eye-cyan-soft);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.plan-cta-btn:hover {
  background: var(--eye-cyan);
  color: var(--bg);
  border-color: var(--eye-cyan);
}

.pricing-featured-row .plan-cta-btn {
  background: var(--eye-cyan-dark);
  color: var(--text);
  border-color: var(--eye-cyan);
}

.pricing-disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 16px;
  text-align: center;
}

/* SECTION 14 - Article Directory Grid */
.articles-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin: 32px 0;
}

.category-group-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.cat-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-deep);
  padding-bottom: 12px;
}

.cat-group-icon {
  width: 12px;
  height: 18px;
  background: var(--eye-cyan);
  border-radius: 50%;
}

.article-link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.article-item-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-deep);
}

.article-item-link:last-child {
  border-bottom: none;
}

.article-item-title {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
}

.article-item-title:hover {
  color: var(--eye-cyan-soft);
}

.article-item-meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
}

/* SECTION 15 - FAQ Accordion */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px 0;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item details summary {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq-item details summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--eye-cyan);
  font-weight: 400;
}

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

.faq-answer {
  padding: 0 24px 20px 24px;
  color: var(--body);
  font-size: 0.98rem;
  border-top: 1px solid var(--border-deep);
  margin-top: 8px;
  padding-top: 16px;
}

/* FOOTER - 深蓝黑知识终端Footer */
.site-footer {
  background: #0C1116;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px 0;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.footer-bg-cat-eye {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  opacity: 0.04;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.footer-brand-col p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h5 {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
}

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

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--eye-cyan-soft);
}

.footer-friends-bar {
  border-top: 1px solid var(--border-deep);
  padding-top: 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
  z-index: 2;
}

.footer-friends-bar a {
  color: var(--muted);
}

.footer-friends-bar a:hover {
  color: var(--eye-cyan-soft);
}

.footer-bottom {
  border-top: 1px solid var(--border-deep);
  padding-top: 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
  z-index: 2;
}

/* ARTICLE / CATEGORY / STATIC PAGES STYLES */
.page-hero {
  padding: 60px 0 40px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-deep);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--eye-cyan-soft);
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 16px 0 24px 0;
  flex-wrap: wrap;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  padding: 48px 0;
}

.article-layout.no-toc {
  grid-template-columns: 1fr;
  max-width: 840px;
  margin: 0 auto;
}

.article-main-content {
  max-width: 800px;
}

.article-toc-sticky {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-deep);
  padding-bottom: 8px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.toc-list a {
  color: var(--muted);
}

.toc-list a:hover {
  color: var(--eye-cyan-soft);
}

/* Related Articles Block */
.related-articles-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-top: 48px;
}

.related-articles-box h4 {
  color: var(--eye-cyan-soft);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.related-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* MEDIA QUERIES (375px, 390px, 430px, 768px, 1024px, 1440px) */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-toc-sticky {
    display: none;
  }
  .hero-content-wrap {
    margin-top: 160px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-tick-row {
    margin-left: 0 !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .plan-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-cyan, .btn-secondary-aff {
    width: 100%;
    text-align: center;
  }
  .floating-word {
    display: none; /* Hide floating absolute tags on narrow mobile screens */
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-block {
    padding: 50px 0;
  }
}

/* Prefers Reduced Motion */
@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;
  }
  .eyelid-upper-left, .eyelid-upper-right { transform: translateY(-24px) !important; }
  .eyelid-lower-left, .eyelid-lower-right { transform: translateY(24px) !important; }
  .pupil-container { transform: translateX(0) !important; }
  .whisker { stroke-dashoffset: 0 !important; }
}
