/* ===== Design System: Dark Tech ===== */
:root {
  --bg: #08080c;
  --bg-elevated: #0e0e14;
  --bg-card: #111118;
  --bg-card-hover: #161620;
  --bg-overlay: rgba(0, 0, 0, 0.5);

  --border: #1e1e28;
  --border-hover: #2a2a36;

  --text: #e2e2ea;
  --text-dim: #8a8a96;
  --text-faint: #4a4a56;

  --accent: #06d6a0;
  --accent-dim: rgba(6, 214, 160, 0.12);
  --accent-glow: rgba(6, 214, 160, 0.18);
  --accent-bright: #0cf0b8;

  --blue: #3b82f6;
  --purple: #8b5cf6;
  --coral: #f43f5e;
  --amber: #f59e0b;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --mono: "SF Mono", "JetBrains Mono", "Fira Code", "Cascadia Code", Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  --max-w: 1024px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font: inherit; border: none; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; }

/* ===== Background Effects ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 10%, #000 35%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 10%, #000 35%, transparent 70%);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.bg-glow-tl { top: -80px; left: 5%; width: 460px; height: 460px; background: var(--accent); }
.bg-glow-br { bottom: -120px; right: 0; width: 400px; height: 400px; background: var(--purple); }

/* ===== Layout ===== */
.site {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 12, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
}

.nav-logo {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-logo .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.nav-links {
  display: flex;
  gap: 2px;
}

.nav-links a {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-dim);
  transition: all 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  position: relative;
  transition: background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: 72px 0 52px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-bright);
  background: var(--accent-dim);
  border: 1px solid rgba(6, 214, 160, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}
.hero-badge .live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero h1 .hl { color: var(--accent-bright); }

.hero p {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 32px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s ease 0.3s both;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border);
}
.btn-outline:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

/* ===== Section Titles ===== */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.section-head .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  opacity: 0.7;
  letter-spacing: 1px;
}
.section-head .line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-head .more {
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
  transition: color 0.2s;
}
.section-head .more:hover { color: var(--text-dim); }

section { padding: 52px 0; }

/* ===== AI News Ticker ===== */
.news-ticker {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  margin-bottom: 0;
}
.news-ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-bright);
  white-space: nowrap;
  flex-shrink: 0;
}
.news-ticker-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
.news-ticker-track {
  overflow: hidden;
  flex: 1;
  position: relative;
  height: 20px;
}
.news-ticker-item {
  position: absolute;
  inset: 0;
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.news-ticker-item.active {
  opacity: 1;
  transform: translateY(0);
}
.news-ticker-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.news-ticker-actions button {
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-faint);
  transition: all 0.2s;
  font-size: 16px;
}
.news-ticker-actions button:hover {
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
}

/* ===== Article Cards ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.article-card .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tag {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.tag-solobiz { background: rgba(6,214,160,0.1); color: var(--accent-bright); }
.tag-ai { background: rgba(139,92,246,0.1); color: var(--purple); }
.tag-auto { background: rgba(59,130,246,0.1); color: var(--blue); }
.tag-project { background: rgba(244,63,94,0.1); color: var(--coral); }

.article-card h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.article-card h3 a:hover { color: var(--accent-bright); }

.article-card .excerpt {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== Featured Article (large card) ===== */
.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all 0.25s ease;
}
.featured-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.featured-card .fc-image {
  background: linear-gradient(135deg, rgba(6,214,160,0.08), rgba(139,92,246,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border-right: 1px solid var(--border);
}
.featured-card .fc-icon {
  font-size: 48px;
  opacity: 0.25;
  filter: grayscale(0.5);
}
.featured-card .fc-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-card .fc-content h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.featured-card .fc-content h3 a:hover { color: var(--accent-bright); }
.featured-card .fc-content .excerpt {
  font-size: 14px;
  color: var(--text-faint);
  line-height: 1.65;
  margin-bottom: 16px;
}
.featured-card .fc-content .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
}

/* ===== Project Cards ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.25s ease;
}
.project-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.project-card .pc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.project-card h3 {
  font-size: 16px;
  font-weight: 600;
}
.project-card .status {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.status-live { background: rgba(6,214,160,0.1); color: var(--accent-bright); }
.status-wip { background: rgba(245,158,11,0.1); color: var(--amber); }
.status-done { background: rgba(59,130,246,0.1); color: var(--blue); }

.project-card .desc {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
  margin-bottom: 12px;
}
.project-card .tech-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tech-pill {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  color: var(--text-faint);
  border: 1px solid var(--border);
}

/* ===== Services (integrated) ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--sc-accent, var(--accent)), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.service-card:hover::before { opacity: 1; }
.service-card .sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.service-card .sc-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}
.service-card .sc-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-faint);
  background: rgba(255,255,255,0.03);
  padding: 3px 8px;
  border-radius: 4px;
}
.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.service-card .sc-desc {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 14px;
  line-height: 1.6;
}
.service-card .sc-features {
  list-style: none;
  margin-bottom: 16px;
}
.service-card .sc-features li {
  font-size: 12px;
  color: var(--text-dim);
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.service-card .sc-features li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--sc-accent, var(--accent));
  flex-shrink: 0;
}
.service-card .sc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.service-card .sc-price {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}
.service-card .sc-price strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.service-card .sc-price .from { font-size: 10px; color: var(--text-faint); }
.service-card .sc-delivery {
  font-size: 11px;
  color: var(--text-faint);
}

/* ===== Process Steps ===== */
.process-steps {
  display: flex;
  gap: 12px;
}
.process-step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  transition: all 0.25s;
}
.process-step:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-bright);
  margin-bottom: 12px;
  transition: all 0.3s;
}
.process-step:hover .step-num {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}
.step-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}
.step-desc {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.5;
}

/* ===== CTA ===== */
.cta-section {
  padding: 64px 0;
  text-align: center;
}
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 28px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.cta-box h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.cta-box > p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 24px;
}
.cta-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.chip {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.2s;
}
.chip:hover { color: var(--text-dim); border-color: var(--border-hover); }
.chip .chip-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== Article List (articles.html) ===== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-faint);
  transition: all 0.2s;
}
.filter-btn:hover { color: var(--text-dim); border-color: var(--border-hover); }
.filter-btn.active {
  background: var(--accent-dim);
  border-color: rgba(6,214,160,0.3);
  color: var(--accent-bright);
}
.search-input {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  transition: border-color 0.2s;
}
.search-input:focus-within { border-color: var(--border-hover); }
.search-input input {
  background: none;
  border: none;
  outline: none;
  font-size: 13px;
  width: 160px;
  color: var(--text);
}
.search-input input::placeholder { color: var(--text-faint); }
.search-input .search-icon {
  font-size: 14px;
  color: var(--text-faint);
}

/* Article list: single column cards */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: all 0.2s;
}
.article-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.article-item .ai-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
  white-space: nowrap;
  min-width: 80px;
}
.article-item .ai-body { flex: 1; min-width: 0; }
.article-item .ai-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.article-item .ai-body h3 a:hover { color: var(--accent-bright); }
.article-item .ai-body .ai-meta {
  font-size: 12px;
  color: var(--text-faint);
}
.article-item .ai-tags { display: flex; gap: 4px; flex-shrink: 0; }

/* ===== Article Detail ===== */
.article-full { max-width: 700px; margin: 0 auto; }

.article-full .af-header {
  text-align: center;
  padding: 40px 0 28px;
}
.article-full .af-header h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 14px;
}
.article-full .af-header .af-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.article-full .af-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}
.article-full .af-body h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.article-full .af-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 8px;
}
.article-full .af-body p { margin-bottom: 14px; }
.article-full .af-body ul, .article-full .af-body ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
.article-full .af-body li { margin-bottom: 6px; }
.article-full .af-body code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--accent-bright);
}
.article-full .af-body pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 16px;
}
.article-full .af-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.7;
}
.article-full .af-body blockquote {
  border-left: 2px solid var(--accent);
  padding: 10px 16px;
  margin: 16px 0;
  background: var(--accent-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dim);
  font-size: 14px;
}
.article-full .af-body .highlight {
  background: linear-gradient(transparent 60%, rgba(6,214,160,0.15));
}

/* ===== Stats ===== */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
}
.stat-num .unit { font-size: 13px; color: var(--text-dim); font-weight: 400; }
.stat-label { font-size: 11px; color: var(--text-faint); margin-top: 2px; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  position: relative;
  z-index: 1;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--text-faint);
  font-size: 12px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text-dim); }

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .fc-image { min-height: 140px; border-right: none; border-bottom: 1px solid var(--border); }
  .process-steps { flex-direction: column; }
  .article-item { flex-wrap: wrap; }
  .article-item .ai-date { min-width: auto; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px;
    gap: 4px;
  }
  .nav-links.open a {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
  }
  .nav-toggle { display: flex; }
  .nav-links a.active::after { display: none; }
  .search-input { margin-left: 0; width: 100%; }
  .search-input input { flex: 1; }
  .filter-bar { gap: 4px; }
  .stats-row { gap: 24px; }
}

@media (max-width: 480px) {
  .article-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .container { padding: 0 16px; }
}
