/* ===================================================
   智慧农业大棚任务单 · 全局样式
   =================================================== */

:root {
  --green-deep:    #0d3d2a;
  --green-mid:     #1a5c3f;
  --green-bright:  #22c55e;
  --green-light:   #4ade80;
  --green-glow:    #86efac;
  --teal:          #14b8a6;
  --blue:          #3b82f6;
  --amber:         #f59e0b;
  --bg-dark:       #0a1a12;
  --bg-card:       #0f2318;
  --bg-card2:      #132b1e;
  --text-primary:  #e8f5ee;
  --text-secondary:#a7c4b0;
  --text-muted:    #5d8a6e;
  --border:        rgba(34, 197, 94, 0.15);
  --border-bright: rgba(34, 197, 94, 0.35);
  --shadow-green:  0 0 30px rgba(34, 197, 94, 0.08);
  --font-main:     'Noto Sans SC', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--green-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-light); }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-bright); }

/* ===== Container ===== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 26, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 60px;
}
.header-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 24px;
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-icon { color: var(--green-bright); font-size: 20px; }
.logo-text { font-weight: 700; font-size: 15px; color: var(--text-primary); white-space: nowrap; }

.top-nav { display: flex; gap: 4px; margin-left: auto; }
.top-nav a {
  padding: 6px 14px; border-radius: 6px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); transition: all var(--transition);
}
.top-nav a:hover { color: var(--green-bright); background: rgba(34, 197, 94, 0.08); }

.header-badge {
  background: linear-gradient(135deg, #1e4d8c, #3b82f6);
  color: #fff; padding: 4px 12px; border-radius: 20px;
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.header-badge i { font-size: 16px; }

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 80px 24px 60px;
}

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(34, 197, 94, 0.12) 0%, transparent 70%),
              linear-gradient(180deg, var(--bg-dark) 0%, var(--green-deep) 50%, var(--bg-dark) 100%);
}

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.floating-icons { position: absolute; inset: 0; pointer-events: none; }
.fi {
  position: absolute; font-size: 24px;
  color: rgba(34, 197, 94, 0.15);
  animation: float 8s ease-in-out infinite;
}
.fi-1 { top: 15%; left: 8%;  animation-delay: 0s; }
.fi-2 { top: 25%; right: 10%; animation-delay: 1.2s; }
.fi-3 { top: 65%; left: 5%; animation-delay: 2.4s; }
.fi-4 { top: 55%; right: 8%; animation-delay: 0.8s; }
.fi-5 { top: 80%; left: 20%; animation-delay: 3.5s; }
.fi-6 { top: 40%; right: 20%; animation-delay: 1.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
  50% { transform: translateY(-20px) rotate(5deg); opacity: 0.3; }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 720px;
}

.course-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34, 197, 94, 0.1); border: 1px solid var(--border-bright);
  color: var(--green-light); padding: 6px 18px; border-radius: 20px;
  font-size: 14px; font-weight: 500; margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 900; line-height: 1.2;
  color: var(--text-primary); margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--green-bright), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px; color: var(--text-secondary);
  max-width: 560px; margin: 0 auto 28px; line-height: 1.8;
}

/* Hero Policy Strip */
.hero-policy-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 32px;
}
.hero-policy-strip span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34, 197, 94, 0.08); border: 1px solid var(--border);
  color: var(--text-secondary); padding: 5px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500;
}
.hero-policy-strip span i { color: var(--green-bright); }

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; margin-bottom: 40px;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 40px; font-weight: 900; color: var(--green-bright); line-height: 1; }
.stat-label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }

.hero-cta-group {
  display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 30px;
  font-size: 16px; font-weight: 700;
  transition: all var(--transition);
}
.hero-cta--book {
  background: linear-gradient(135deg, var(--green-bright), var(--teal));
  color: #fff; box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}
.hero-cta--book:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}
.hero-cta--scroll {
  background: transparent;
  color: var(--green-light);
  border: 1px solid var(--border-bright);
}
.hero-cta--scroll:hover {
  color: var(--green-bright);
  background: rgba(34, 197, 94, 0.08);
  transform: translateY(-2px);
}
.hero-cta i { animation: bounce 2s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ===================================================
   POLICY SECTION
   =================================================== */
.policy-section { background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%); }

/* Policy Hero Image */
.policy-hero-img {
  margin: 0 auto 56px; max-width: 900px;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); position: relative;
}
.policy-hero-img img { width: 100%; height: auto; display: block; }
.phi-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10, 26, 18, 0.95));
  color: var(--text-secondary); padding: 24px 20px 16px;
  font-size: 14px; display: flex; align-items: center; gap: 8px; justify-content: center;
}
.phi-caption i { color: var(--green-bright); }

/* National Data Cards */
.national-data {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-bottom: 56px;
}
.nd-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px 24px; text-align: center;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.nd-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-bright), var(--teal)); opacity: 0;
  transition: opacity var(--transition);
}
.nd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-green); border-color: var(--border-bright); }
.nd-card:hover::before { opacity: 1; }
.nd-icon { font-size: 32px; color: var(--green-bright); margin-bottom: 12px; }
.nd-num { font-size: 32px; font-weight: 900; color: var(--green-light); line-height: 1; margin-bottom: 6px; }
.nd-label {
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.nd-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.nd-desc strong { color: var(--text-primary); }

/* Policy Timeline */
.policy-timeline { margin-bottom: 56px; }
.policy-tl-title {
  font-size: 18px; font-weight: 700; margin-bottom: 32px;
  color: var(--text-primary); display: flex; align-items: center; gap: 10px;
}
.policy-tl-title i { color: var(--green-bright); }
.ptl-items { display: flex; flex-direction: column; gap: 0; position: relative; }
.ptl-items::before {
  content: ''; position: absolute; left: 52px; top: 20px; bottom: 20px;
  width: 2px; background: linear-gradient(var(--border), var(--green-bright), var(--border));
}
.ptl-item {
  display: flex; align-items: flex-start; gap: 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 24px; position: relative;
  transition: all var(--transition);
}
.ptl-item:hover { border-color: var(--border-bright); background: var(--bg-card2); transform: translateX(4px); }
.ptl-year {
  font-size: 18px; font-weight: 900; color: var(--green-bright);
  font-family: var(--font-mono); line-height: 1; min-width: 60px;
  background: rgba(34, 197, 94, 0.1); padding: 8px 12px; border-radius: 8px;
  text-align: center; position: relative; z-index: 2;
}
.ptl-item--now .ptl-year {
  background: linear-gradient(135deg, var(--green-bright), var(--teal));
  color: #fff; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}
.ptl-content { flex: 1; }
.ptl-content strong {
  display: block; font-size: 15px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 6px;
}
.ptl-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* Policy to Tech Connector */
.policy-to-tech {
  background: var(--bg-card); border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl); padding: 40px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.policy-to-tech::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.06), transparent 60%);
}
.ptt-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.12); border: 2px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-bright); font-size: 24px; margin: 0 auto 20px;
  position: relative; z-index: 2;
}
.policy-to-tech h3 {
  font-size: 22px; font-weight: 800; color: var(--text-primary);
  margin-bottom: 16px; position: relative; z-index: 2;
}
.policy-to-tech p {
  font-size: 16px; color: var(--text-secondary); line-height: 1.9;
  max-width: 680px; margin: 0 auto 12px; position: relative; z-index: 2;
}
.policy-to-tech p strong { color: var(--text-primary); }
.ptt-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--green-bright), var(--teal));
  color: #fff; padding: 12px 28px; border-radius: 30px;
  font-size: 15px; font-weight: 700; margin-top: 20px;
  transition: all var(--transition); box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
  position: relative; z-index: 2;
}
.ptt-btn:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.45);
}

/* ===================================================
   SECTIONS
   =================================================== */
.section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; background: rgba(34, 197, 94, 0.12);
  border: 1px solid var(--border-bright); color: var(--green-bright);
  padding: 4px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 40px); font-weight: 800;
  color: var(--text-primary); margin-bottom: 16px;
}
.section-desc { font-size: 17px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ===================================================
   OVERVIEW
   =================================================== */
.overview-section { background: var(--bg-dark); }

/* Story Cards */
.overview-story {
  display: flex; align-items: center; gap: 24px; margin-bottom: 64px;
  flex-wrap: wrap;
}
.story-card {
  flex: 1; min-width: 280px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-green); }
.story-card--problem { border-left: 3px solid #f59e0b; }
.story-card--solution { border-left: 3px solid var(--green-bright); }
.story-icon { font-size: 28px; margin-bottom: 16px; }
.story-card--problem .story-icon { color: #f59e0b; }
.story-card--solution .story-icon { color: var(--green-bright); }
.story-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.story-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.8; }
.story-card p strong { color: var(--text-primary); }
.story-arrow { font-size: 24px; color: var(--text-muted); flex-shrink: 0; }

/* Arch Diagram */
.arch-diagram {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; margin-bottom: 56px;
}
.arch-title { font-size: 18px; font-weight: 700; margin-bottom: 32px; color: var(--text-primary); display: flex; align-items: center; gap: 10px; }
.arch-title i { color: var(--green-bright); }

.arch-layers { display: flex; flex-direction: column; align-items: center; gap: 0; }
.arch-layer {
  width: 100%; border-radius: var(--radius-md); padding: 20px 28px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.layer-sense   { background: rgba(20, 184, 166, 0.08); border: 1px solid rgba(20, 184, 166, 0.25); }
.layer-data    { background: rgba(34, 197, 94, 0.08);  border: 1px solid rgba(34, 197, 94, 0.25);  }
.layer-manage  { background: rgba(99, 102, 241, 0.08); border: 1px solid rgba(99, 102, 241, 0.25); }
.layer-decision{ background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.25); }
.layer-label {
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  white-space: nowrap; padding: 4px 12px; border-radius: 6px; min-width: 80px; text-align: center;
}
.layer-sense   .layer-label { background: rgba(20, 184, 166, 0.2); color: #14b8a6; }
.layer-data    .layer-label { background: rgba(34, 197, 94, 0.2);  color: var(--green-bright); }
.layer-manage  .layer-label { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
.layer-decision .layer-label{ background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.layer-items { display: flex; flex-wrap: wrap; gap: 12px; }
.layer-items span {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-secondary);
  background: rgba(255,255,255,0.04); padding: 6px 14px; border-radius: 6px;
}
.layer-items span i { font-size: 13px; }
.arch-arrow-down { font-size: 20px; color: var(--text-muted); margin: 6px 0; }

/* Business Flow */
.biz-flow { margin-bottom: 56px; }
.biz-flow-title { font-size: 18px; font-weight: 700; margin-bottom: 32px; color: var(--text-primary); display: flex; align-items: center; gap: 10px; }
.biz-flow-title i { color: var(--green-bright); }
.flow-steps { display: flex; flex-direction: column; gap: 0; }
.flow-step {
  display: flex; align-items: flex-start; gap: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 24px;
  transition: all var(--transition);
}
.flow-step:hover { border-color: var(--border-bright); background: var(--bg-card2); }
.flow-num {
  font-size: 22px; font-weight: 900; color: var(--green-bright);
  font-family: var(--font-mono); line-height: 1; min-width: 36px;
}
.flow-text strong { display: block; font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.flow-text span { font-size: 14px; color: var(--text-secondary); }
.flow-connector {
  width: 2px; height: 24px; background: linear-gradient(var(--green-bright), var(--border));
  margin-left: 42px;
}

/* Overview Table */
.ds-overview-table { margin-bottom: 56px; }
.table-title { font-size: 18px; font-weight: 700; margin-bottom: 24px; color: var(--text-primary); display: flex; align-items: center; gap: 10px; }
.table-title i { color: var(--green-bright); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--bg-card2); }
thead th {
  padding: 14px 18px; text-align: left;
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border);
}
tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition); cursor: default;
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(34, 197, 94, 0.04); }
tbody td { padding: 14px 18px; font-size: 14px; color: var(--text-secondary); }
.task-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.12); border: 1px solid var(--border-bright);
  color: var(--green-bright); font-weight: 700; font-size: 13px;
}
.ds-tag {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  background: rgba(34, 197, 94, 0.1); border: 1px solid var(--border-bright);
  color: var(--green-bright); font-size: 12px; font-weight: 600; white-space: nowrap;
}

/* Transition hint */
.overview-transition {
  text-align: center; padding: 32px; color: var(--text-muted);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.overview-transition i { font-size: 24px; color: var(--green-bright); animation: bounce 2s ease-in-out infinite; }
.overview-transition p { font-size: 15px; max-width: 560px; line-height: 1.8; }

/* ===================================================
   TASKS
   =================================================== */
.tasks-section { background: var(--bg-dark); padding-top: 20px; }

/* Task Card */
.task-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 32px;
  transition: box-shadow var(--transition);
}
.task-card:hover { box-shadow: 0 0 40px rgba(34, 197, 94, 0.1); }

.task-header {
  padding: 28px 36px; display: flex; align-items: center; gap: 20px;
  position: relative; overflow: hidden;
}
.task-header::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--color-a, #0d3d2a) 0%, var(--color-b, #0a1a12) 100%);
}

/* Per-task header colors */
.task-header--1 { --color-a: #0f3d2b; --color-b: #0a2118; }
.task-header--2 { --color-a: #1a2f4a; --color-b: #0d1e30; }
.task-header--3 { --color-a: #3d2b0a; --color-b: #261c07; }
.task-header--4 { --color-a: #2a1a3d; --color-b: #1a1026; }
.task-header--5 { --color-a: #3d1a1a; --color-b: #260f0f; }
.task-header--6 { --color-a: #0a2e25; --color-b: #071d18; }
.task-header--7 { --color-a: #2e1a07; --color-b: #1c1005; }
.task-header--8 { --color-a: #0a2e2e; --color-b: #071c1c; }

.task-number {
  position: relative; z-index: 2;
  font-size: 52px; font-weight: 900; line-height: 1;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--green-bright), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  min-width: 72px; text-align: center;
}
.task-title-area { position: relative; z-index: 2; flex: 1; }
.task-ds-label {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green-light); padding: 3px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.task-title-area h3 {
  font-size: clamp(18px, 3vw, 26px); font-weight: 800;
  color: var(--text-primary); line-height: 1.3;
}
.task-icon-big {
  position: relative; z-index: 2;
  font-size: 40px; color: rgba(34, 197, 94, 0.2);
  margin-left: auto; flex-shrink: 0;
}

.task-body { padding: 36px; display: flex; flex-direction: column; gap: 32px; }

/* Context */
.task-context h4,
.task-why h4,
.task-requirements h4,
.task-steps h4,
.task-performance h4,
.task-interface h4,
.task-tips h4 {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--green-light);
  margin-bottom: 16px;
}
.task-context h4 i { color: var(--green-bright); }
.task-why h4 i { color: #60a5fa; }
.task-requirements h4 i { color: #60a5fa; }
.task-steps h4 i { color: #a78bfa; }
.task-performance h4 i { color: #f59e0b; }
.task-interface h4 i { color: #f59e0b; }
.task-tips h4 i { color: #f87171; }

.task-context p { color: var(--text-secondary); line-height: 1.9; font-size: 15px; margin-bottom: 16px; }
.task-context p strong { color: var(--text-primary); }

.context-highlight {
  background: rgba(34, 197, 94, 0.06); border-left: 3px solid var(--green-bright);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 20px; display: flex; gap: 12px; align-items: flex-start;
}
.context-highlight i { color: var(--green-bright); margin-top: 2px; flex-shrink: 0; }
.context-highlight em { color: var(--text-secondary); font-style: normal; font-size: 14px; line-height: 1.8; }
.context-highlight em strong { color: var(--green-light); }

/* Why Section */
.task-why { margin-bottom: 32px; }
.why-comparison {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.why-option {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px; transition: all var(--transition);
}
.why-option:hover { transform: translateY(-2px); }
.why-option--good {
  border-left: 3px solid var(--green-bright);
  background: rgba(34, 197, 94, 0.04);
}
.why-option--bad {
  border-left: 3px solid #ef4444;
  background: rgba(239, 68, 68, 0.02);
}
.wo-label {
  font-size: 14px; font-weight: 700; margin-bottom: 10px;
}
.why-option--good .wo-label { color: var(--green-bright); }
.why-option--bad .wo-label { color: #ef4444; }
.wo-items { display: flex; flex-direction: column; gap: 6px; }
.wo-items span { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Steps */
.task-steps { margin-bottom: 32px; }
.steps-list { display: flex; flex-direction: column; gap: 12px; }
.step-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px; transition: all var(--transition);
}
.step-item:hover { border-color: var(--border-bright); background: var(--bg-card); }
.step-num {
  font-size: 12px; font-weight: 700; color: var(--green-bright);
  background: rgba(34, 197, 94, 0.1); padding: 4px 10px; border-radius: 6px;
  white-space: nowrap; font-family: var(--font-mono);
}
.step-content { flex: 1; }
.step-content strong {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 4px;
}
.step-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.step-content p code {
  font-family: var(--font-mono); font-size: 12px;
  background: rgba(34, 197, 94, 0.1); color: var(--green-light);
  padding: 1px 6px; border-radius: 4px;
}

/* Performance Table */
.task-performance { margin-bottom: 32px; }
.perf-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.perf-table thead { background: rgba(34, 197, 94, 0.05); }
.perf-table th {
  padding: 12px 16px; text-align: left; font-weight: 700;
  color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}
.perf-table td {
  padding: 12px 16px; color: var(--text-secondary); border-bottom: 1px solid var(--border);
}
.perf-table tbody tr:last-child td { border-bottom: none; }
.perf-table tbody tr:hover { background: rgba(34, 197, 94, 0.02); }
.perf-table code {
  font-family: var(--font-mono); font-size: 12px;
  background: rgba(34, 197, 94, 0.1); color: var(--green-light);
  padding: 2px 8px; border-radius: 4px; font-weight: 600;
}

/* Requirements list */
.task-requirements ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.task-requirements li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}
.task-requirements li::before {
  content: '▸'; color: var(--green-bright); flex-shrink: 0; margin-top: 1px;
}
.task-requirements li strong { color: var(--text-primary); }
.task-requirements li code {
  font-family: var(--font-mono); font-size: 12px;
  background: rgba(34, 197, 94, 0.1); color: var(--green-light);
  padding: 1px 6px; border-radius: 4px;
}

/* Code Block */
.code-block {
  background: #070f0a; border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
}
.code-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: rgba(34, 197, 94, 0.05);
  border-bottom: 1px solid var(--border);
}
.code-lang { font-size: 12px; font-weight: 700; color: var(--green-bright); font-family: var(--font-mono); }
.code-file { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); }
.code-block pre {
  padding: 20px; overflow-x: auto; font-size: 13px;
  font-family: var(--font-mono); line-height: 1.8;
}
.code-block code { font-family: var(--font-mono); }

/* Syntax Colors */
.c-keyword { color: #c792ea; }
.c-class   { color: #82aaff; }
.c-method  { color: #82b1ff; }
.c-comment { color: #546e7a; font-style: italic; }
.c-string  { color: #c3e88d; }

/* Tips */
.tips-grid { display: flex; flex-direction: column; gap: 10px; }
.tip-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-secondary);
  background: rgba(248, 113, 113, 0.04); border: 1px solid rgba(248, 113, 113, 0.12);
  border-radius: var(--radius-sm); padding: 12px 16px; line-height: 1.7;
}
.tip-item i { color: #f87171; flex-shrink: 0; margin-top: 2px; }

/* Task Transition */
.task-transition {
  display: flex; align-items: flex-start; gap: 20px;
  background: rgba(34, 197, 94, 0.03); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 32px;
  position: relative;
}
.transition-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.1); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-bright); flex-shrink: 0; font-size: 16px;
}
.task-transition p { font-size: 15px; color: var(--text-secondary); line-height: 1.9; padding-top: 6px; }
.task-transition p strong { color: var(--text-primary); }

/* ===================================================
   SUMMARY
   =================================================== */
.summary-section { background: var(--bg-card); }

.summary-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin-bottom: 60px;
}
.summary-card {
  background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px; text-align: center;
  transition: all var(--transition); cursor: default; position: relative; overflow: hidden;
}
.summary-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--c, var(--green-bright));
}
.summary-card:hover {
  transform: translateY(-4px);
  border-color: var(--c, var(--green-bright));
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.sc-icon { font-size: 28px; color: var(--c); margin-bottom: 12px; }
.sc-ds { font-size: 16px; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; }
.sc-task { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.sc-key {
  display: inline-block; font-size: 11px; font-weight: 600;
  background: rgba(255,255,255,0.05); padding: 3px 8px; border-radius: 4px;
  color: var(--text-muted); font-family: var(--font-mono);
}

/* Final Message */
.final-message {
  background: var(--bg-dark); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 48px; text-align: center;
}
.fm-icon { font-size: 40px; color: var(--green-bright); margin-bottom: 20px; }
.final-message h3 { font-size: 24px; font-weight: 800; margin-bottom: 20px; color: var(--text-primary); }
.final-message p {
  font-size: 16px; color: var(--text-secondary); max-width: 680px;
  margin: 0 auto 16px; line-height: 1.9;
}
.final-message p strong { color: var(--text-primary); }
.fm-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.fm-tags span {
  background: rgba(34, 197, 94, 0.08); border: 1px solid var(--border-bright);
  color: var(--green-bright); padding: 5px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer-bar {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-muted);
}
.footer-inner span:first-child { display: flex; align-items: center; gap: 8px; }
.footer-inner i { color: var(--green-bright); }

/* ===================================================
   BACK TO TOP
   =================================================== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 99;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-bright); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all var(--transition);
  opacity: 0; pointer-events: none;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(34, 197, 94, 0.5); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
  .top-nav { display: none; }
  .logo-text { font-size: 13px; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 32px; }
  .overview-story { flex-direction: column; }
  .story-arrow { transform: rotate(90deg); }
  .arch-layer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .task-header { padding: 20px 20px; gap: 12px; }
  .task-number { font-size: 36px; min-width: 52px; }
  .task-icon-big { font-size: 28px; }
  .task-body { padding: 20px; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .final-message { padding: 28px 20px; }
  .task-transition { padding: 20px; }
}

@media (max-width: 480px) {
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 80px 16px 40px; }
  .container { padding: 0 16px; }
}

/* ===================================================
   PROGRESS BAR (top of page)
   =================================================== */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--green-bright), var(--teal));
  width: 0%; transition: width 0.1s linear;
}

/* ===================================================
   ANIMATE ON SCROLL
   =================================================== */
.aos-fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.aos-fade-up.visible { opacity: 1; transform: translateY(0); }
