/* ============================================================
   WindowsSCPGuide.com — "Blueprint Transfer" Design System
   Light-first, Windows-inspired, technical feel
   ============================================================ */

/* --- Local Fonts --- */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/nunito-sans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/nunito-sans-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/nunito-sans-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* --- CSS Variables — Light Mode (default) --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-heading: #1e3a5f;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --accent-glow: rgba(37,99,235,0.15);
  --border-color: #cbd5e1;
  --border-light: #e2e8f0;
  --code-bg: #0c0c0c;
  --code-text: #4ade80;
  --code-output: #e2e8f0;
  --code-path: #60a5fa;
  --code-header-bg: #1e293b;
  --code-header-text: #94a3b8;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --blueprint-line: rgba(37,99,235,0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-heading: 'JetBrains Mono', monospace;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: 'JetBrains Mono', monospace;
  --sidebar-width: 280px;
  --navbar-height: 64px;
  --progress-color: #2563eb;
  --cookie-bg: #1e293b;
  --cookie-text: #f1f5f9;
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-tertiary: #0f3460;
  --bg-card: #16213e;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-heading: #93c5fd;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-light: rgba(59,130,246,0.15);
  --accent-glow: rgba(59,130,246,0.25);
  --border-color: #334155;
  --border-light: #1e293b;
  --code-bg: #0a0a0a;
  --code-header-bg: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
  --blueprint-line: rgba(59,130,246,0.08);
  --progress-color: #3b82f6;
  --cookie-bg: #0f172a;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(var(--blueprint-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px);
  background-size: 40px 40px;
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* --- Reading Progress Bar --- */
#reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), #06b6d4);
  z-index: 9999; transition: width 0.1s linear;
}

/* --- Navbar --- */
.site-navbar {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  height: var(--navbar-height);
  position: sticky; top: 0; z-index: 1050;
  backdrop-filter: blur(10px);
  transition: background 0.3s, border-color 0.3s;
}
.site-navbar .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.2rem;
  color: var(--text-heading);
  display: flex; align-items: center; gap: 8px;
}
.site-navbar .navbar-brand .brand-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
}
.site-navbar .nav-link {
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--accent);
  background: var(--accent-light);
}

/* Theme Toggle */
.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; gap: 6px;
  transition: all 0.3s;
  color: var(--text-primary);
}
.theme-toggle:hover { border-color: var(--accent); }

/* --- Hero Section --- */
.hero-section {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-section .hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 4px 16px;
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 700;
  margin-bottom: 20px;
}
.hero-section h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem; font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2; margin-bottom: 20px;
}
.hero-section .hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px; margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* File Transfer Animation */
.transfer-animation {
  position: relative;
  width: 100%; max-width: 500px;
  height: 320px;
  margin: 0 auto;
}
.transfer-pc, .transfer-server {
  position: absolute;
  width: 120px; height: 100px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 700;
  color: var(--text-heading);
  box-shadow: var(--shadow-md);
}
.transfer-pc { top: 110px; left: 10px; }
.transfer-server { top: 110px; right: 10px; }
.transfer-pc .device-icon, .transfer-server .device-icon {
  font-size: 2rem; margin-bottom: 6px;
}
.transfer-line {
  position: absolute;
  top: 160px; left: 140px; right: 140px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 8px, transparent 8px, transparent 16px);
  opacity: 0.5;
}
.transfer-file {
  position: absolute;
  top: 145px;
  font-size: 1.5rem;
  animation: fileMove 3s ease-in-out infinite;
}
@keyframes fileMove {
  0% { left: 140px; opacity: 1; }
  45% { left: calc(50% - 12px); opacity: 1; }
  55% { left: calc(50% - 12px); opacity: 1; }
  100% { left: calc(100% - 170px); opacity: 1; }
}
.transfer-status {
  position: absolute;
  bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem; color: var(--success);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.transfer-progress-bar {
  position: absolute;
  bottom: 60px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
}
.transfer-progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--success));
  border-radius: 3px;
  animation: progressFill 3s ease-in-out infinite;
}
@keyframes progressFill {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 100%; }
}

/* --- Stats Section --- */
.stats-section { padding: 40px 0; }
.stat-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem; font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- Guide Cards --- */
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  height: 100%;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.guide-card .card-icon {
  font-size: 2rem; margin-bottom: 14px;
}
.guide-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.guide-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  flex-grow: 1;
  margin-bottom: 16px;
}
.guide-card .card-link {
  font-family: var(--font-heading);
  font-size: 0.85rem; font-weight: 700;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.guide-card .card-link:hover { gap: 10px; }

/* --- Two-Column Guide Layout --- */
.guide-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  gap: 40px;
  padding: 40px 0;
}
@media (max-width: 991px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }
}

/* --- Sidebar TOC --- */
.sidebar-toc {
  position: sticky; top: calc(var(--navbar-height) + 20px);
  max-height: calc(100vh - var(--navbar-height) - 40px);
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-toc h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem; font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-toc ul { list-style: none; padding: 0; }
.sidebar-toc li { margin-bottom: 4px; }
.sidebar-toc a {
  display: block;
  padding: 6px 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: all 0.2s;
}
.sidebar-toc a:hover,
.sidebar-toc a.active {
  color: var(--accent);
  background: var(--accent-light);
  border-left-color: var(--accent);
  text-decoration: none;
}
.toc-toggle-mobile {
  display: none;
  width: 100%;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.85rem; font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  margin-bottom: 20px;
}
@media (max-width: 991px) {
  .sidebar-toc { display: none; position: static; }
  .sidebar-toc.show { display: block; }
  .toc-toggle-mobile { display: block; }
}

/* --- Guide Content --- */
.guide-content h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.guide-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-heading);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}
.guide-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-heading);
  margin: 28px 0 12px;
}
.guide-content p { margin-bottom: 16px; color: var(--text-primary); }
.guide-content ul, .guide-content ol {
  margin-bottom: 16px; padding-left: 24px;
}
.guide-content li { margin-bottom: 8px; }
.guide-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.88rem; color: var(--text-secondary);
  margin-bottom: 30px; flex-wrap: wrap;
}
.guide-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* --- Windows Terminal Code Blocks --- */
.code-block-wrapper {
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #333;
  box-shadow: var(--shadow-md);
}
.code-block-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px;
  background: var(--code-header-bg);
  font-family: var(--font-code);
  font-size: 0.78rem;
}
.code-block-header .header-left {
  display: flex; align-items: center; gap: 10px;
  color: var(--code-header-text);
}
.code-block-header .win-dots {
  display: flex; gap: 6px;
}
.code-block-header .win-dot {
  width: 12px; height: 12px;
  border-radius: 0;
  border: 1px solid #555;
  background: transparent;
  font-size: 8px; line-height: 12px; text-align: center;
  color: #888;
}
.code-block-header .win-dot.minimize::after { content: '\2014'; }
.code-block-header .win-dot.maximize::after { content: '\25A1'; }
.code-block-header .win-dot.close { border-color: #ef4444; }
.code-block-header .win-dot.close::after { content: '\00D7'; color: #ef4444; }
.code-block-header .copy-btn {
  background: none; border: 1px solid #555;
  color: #94a3b8;
  font-family: var(--font-code);
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.code-block-header .copy-btn:hover {
  background: var(--accent); color: #fff;
  border-color: var(--accent);
}
.code-block-header .copy-btn.copied {
  background: var(--success); color: #fff;
  border-color: var(--success);
}
.code-block-body {
  background: var(--code-bg);
  padding: 16px 20px;
  overflow-x: auto;
}
.code-block-body pre {
  margin: 0;
  font-family: var(--font-code);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--code-text);
  white-space: pre;
}
.code-block-body .cmd-output { color: var(--code-output); }
.code-block-body .cmd-path { color: var(--code-path); }
.code-block-body .cmd-comment { color: #6b7280; font-style: italic; }
.code-block-body .cmd-prompt { color: #f59e0b; }

/* --- Callout / Info Boxes --- */
.callout {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  border-left: 4px solid;
  display: flex; gap: 12px;
}
.callout-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.callout-body { flex-grow: 1; }
.callout-body p { margin-bottom: 4px; }
.callout-info {
  background: var(--accent-light);
  border-left-color: var(--accent);
}
.callout-warning {
  background: rgba(245,158,11,0.1);
  border-left-color: var(--warning);
}
.callout-danger {
  background: rgba(239,68,68,0.1);
  border-left-color: var(--danger);
}
.callout-success {
  background: rgba(34,197,94,0.1);
  border-left-color: var(--success);
}

/* --- Folder Tree SVG Diagram --- */
.folder-tree {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
  font-family: var(--font-code);
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.8;
}
.folder-tree .folder { color: var(--accent); font-weight: 700; }
.folder-tree .file { color: var(--text-secondary); }
.folder-tree .tree-line { color: var(--border-color); }

/* --- Connection Status Indicator --- */
.connection-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem; font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(34,197,94,0.1);
  color: var(--success);
  border: 1px solid rgba(34,197,94,0.3);
}
.connection-status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.5s ease-in-out infinite;
}

/* --- Data Flow Dotted Lines --- */
.data-flow {
  margin: 30px 0;
  text-align: center;
  position: relative;
}
.data-flow svg { max-width: 100%; }
.data-flow .flow-dot {
  animation: flowMove 2s linear infinite;
}
@keyframes flowMove {
  0% { opacity: 0; transform: translateX(0); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(200px); }
}

/* --- Buttons --- */
.btn-primary-custom {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700; font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary-custom:hover {
  background: var(--accent-hover); color: #fff;
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-outline-custom {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 8px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700; font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-custom:hover {
  background: var(--accent); color: #fff;
  transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  margin-top: 80px;
  transition: background 0.3s, border-color 0.3s;
}
.site-footer h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--accent); }
.footer-contact p {
  font-size: 0.9rem; color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex; align-items: flex-start; gap: 8px;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px; margin-top: 40px;
  text-align: center;
  font-size: 0.85rem; color: var(--text-secondary);
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700; color: var(--text-heading);
  font-size: 1.1rem;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--cookie-bg);
  color: var(--cookie-text);
  padding: 16px 24px;
  z-index: 9998;
  border-top: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner p { margin: 0; font-size: 0.88rem; flex-grow: 1; }
.cookie-banner a { color: var(--accent); }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--accent); color: #fff; border: none;
  padding: 8px 20px; border-radius: var(--radius-sm);
  font-weight: 700; cursor: pointer; font-size: 0.85rem;
  transition: background 0.2s;
}
.cookie-accept:hover { background: var(--accent-hover); }
.cookie-decline {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 8px 20px; border-radius: var(--radius-sm);
  font-weight: 600; cursor: pointer; font-size: 0.85rem;
  transition: all 0.2s;
}
.cookie-decline:hover { border-color: var(--text-secondary); }

/* --- Back To Top --- */
.back-to-top {
  position: fixed; bottom: 80px; right: 24px;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  z-index: 1040;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* --- About Page --- */
.about-hero {
  padding: 80px 0 40px;
  text-align: center;
}
.about-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem; font-weight: 700;
  color: var(--text-heading);
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.team-card .avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--accent-light);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}

/* --- Contact Page --- */
.contact-form .form-control, .contact-form .form-select {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.response-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px; text-align: center;
  transition: transform 0.2s;
}
.response-card:hover { transform: translateY(-3px); }
.response-card .rc-icon { font-size: 2rem; margin-bottom: 12px; }
.response-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

/* --- Legal Pages --- */
.legal-page { padding: 60px 0; }
.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.legal-page .last-updated {
  font-size: 0.88rem; color: var(--text-secondary);
  margin-bottom: 30px;
}
.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 700;
  color: var(--text-heading);
  margin: 32px 0 12px;
}
.legal-page p, .legal-page li {
  font-size: 0.95rem; color: var(--text-primary);
  margin-bottom: 12px;
}
.legal-page ul, .legal-page ol { padding-left: 24px; }
.legal-page table {
  width: 100%; border-collapse: collapse;
  margin: 16px 0;
}
.legal-page th, .legal-page td {
  padding: 10px 14px; text-align: left;
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}
.legal-page th {
  background: var(--bg-secondary);
  font-family: var(--font-heading);
  font-weight: 700; color: var(--text-heading);
}

/* --- FAQ Accordion Override --- */
.faq-section .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-section .accordion-button {
  background: var(--bg-card);
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-weight: 700; font-size: 0.95rem;
  border: none;
  box-shadow: none;
}
.faq-section .accordion-button:not(.collapsed) {
  background: var(--accent-light);
  color: var(--accent);
}
.faq-section .accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232563eb' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.faq-section .accordion-body {
  color: var(--text-primary);
  font-size: 0.93rem;
}

/* --- Section Spacing --- */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Table Styling --- */
.guide-content table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0;
}
.guide-content th, .guide-content td {
  padding: 10px 14px; text-align: left;
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}
.guide-content th {
  background: var(--bg-secondary);
  font-family: var(--font-heading);
  font-weight: 700; color: var(--text-heading);
}

/* --- Breadcrumb --- */
.breadcrumb-nav {
  padding: 12px 0;
  font-size: 0.85rem;
}
.breadcrumb-nav a { color: var(--text-secondary); }
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-nav .separator { margin: 0 8px; color: var(--text-secondary); }
.breadcrumb-nav .current { color: var(--accent); font-weight: 600; }

/* --- Misc Utilities --- */
.text-accent { color: var(--accent); }
.bg-accent-light { background: var(--accent-light); }
.fw-heading { font-family: var(--font-heading); }
.border-accent { border-color: var(--accent) !important; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-section h1 { font-size: 2rem; }
  .guide-content h1 { font-size: 1.7rem; }
  .stat-number { font-size: 1.8rem; }
  .transfer-animation { height: 250px; }
  .transfer-pc, .transfer-server { width: 90px; height: 75px; font-size: 0.65rem; }
  .transfer-pc .device-icon, .transfer-server .device-icon { font-size: 1.5rem; }
  .transfer-line { left: 100px; right: 100px; }
  .cookie-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 576px) {
  .hero-section { padding: 50px 0 40px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary-custom,
  .hero-cta .btn-outline-custom { width: 100%; justify-content: center; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
