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

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a25;
  --text: #e4e4e7;
  --text-dim: #8b8b9e;
  --accent: #6ee7b7;
  --accent-dim: rgba(110, 231, 183, 0.15);
  --accent-border: rgba(110, 231, 183, 0.3);
  --border: #1e1e2e;
  --font: 'Inter', -apple-system, 'Segoe UI', 'Noto Sans SC', sans-serif;
  --max-w: 1120px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }

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

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; color: var(--text);
}
.logo:hover { opacity: 1; }
.logo-img { display: none; }
.logo-text { font-size: 24px; font-weight: 700; color: var(--primary, #6C5CE7); letter-spacing: -0.5px; }
.footer-logo { width: 20px; height: 20px; border-radius: 4px; }
.nav-toggle { display: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); opacity: 1; }

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.lang-toggle:hover {
  border-color: var(--text-dim);
  color: var(--text);
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 100px 0 80px;
  background: radial-gradient(ellipse at 50% 0%, rgba(110, 231, 183, 0.06) 0%, transparent 60%);
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 14px; font-weight: 600;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 20px; }

.hero-trial {
  text-align: center;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 36px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #0a0a0f;
}
.btn-primary:hover { background: #5dd6a8; opacity: 1; }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--text-dim); opacity: 1; }

.hero-stats {
  display: flex; gap: 48px; justify-content: center;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 28px; font-weight: 800;
  color: var(--accent);
}
.stat-label {
  font-size: 13px; color: var(--text-dim); margin-top: 4px;
}

/* ===== Pain Points ===== */
.pain-points { padding: 80px 0; }
.section-title {
  text-align: center;
  font-size: 32px; font-weight: 800;
  margin-bottom: 16px;
}
.section-desc {
  text-align: center; color: var(--text-dim);
  font-size: 16px; margin-bottom: 48px;
}
.pain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 48px;
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}
.pain-icon { font-size: 32px; display: block; margin-bottom: 16px; }
.pain-card h3 { font-size: 16px; margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--text-dim); }

/* ===== Features ===== */
.features {
  padding: 80px 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(110, 231, 183, 0.03) 0%, transparent 60%);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.feature-card:hover { border-color: var(--accent-border); }
.feature-main { grid-column: 1 / -1; }
.feature-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-dim); }

.feature-code {
  margin-top: 20px;
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.code-header {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.code-title { font-size: 12px; color: var(--text-dim); margin-left: 8px; }
.feature-code pre {
  padding: 16px;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}
.feature-code code { color: var(--text-dim); }
.cmd-comment { color: #555; }
.cmd-key { color: var(--accent); }
.cmd-string { color: #fbbf24; }

/* ===== Workflow ===== */
.workflow { padding: 80px 0; }
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 24px; margin-top: 48px;
}
.step {
  flex: 1; max-width: 280px; text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
}
.step-num {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  color: var(--accent);
  font-size: 18px; font-weight: 800;
  margin: 0 auto 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-dim); }
.step-arrow {
  font-size: 24px; color: var(--text-dim);
  padding-top: 48px;
}

/* ===== Comparison ===== */
.comparison { padding: 80px 0; }
.compare-table {
  max-width: 700px; margin: 48px auto 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.compare-row {
  display: grid; grid-template-columns: 1fr 1.2fr 1.2fr;
}
.compare-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.compare-cell {
  padding: 14px 20px;
  font-size: 14px;
}
.compare-header .compare-cell {
  font-weight: 700; font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.02);
}
.compare-cell.highlight {
  color: var(--accent);
  font-weight: 500;
}

/* ===== Download ===== */
.download {
  padding: 80px 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(110, 231, 183, 0.06) 0%, transparent 60%);
}
.download-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
.download-card {
  display: flex; flex-direction: column; align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 24px;
  color: var(--text);
  transition: all 0.2s;
}
.download-card:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-hover);
  opacity: 1;
}
.download-card.downloadable { cursor: pointer; }
.download-card.downloadable:hover { border-color: var(--accent); }
.dl-icon { font-size: 40px; margin-bottom: 12px; }
.dl-platform { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.dl-arch { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.dl-version {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}
.dl-count {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}
.dl-status {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}
.download-total {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-dim);
}
.download-total strong {
  color: var(--accent);
  font-size: 18px;
  margin-left: 8px;
}
.download-alt {
  text-align: center; margin-top: 32px;
  font-size: 14px; color: var(--text-dim);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text-dim); }
.footer-copy { font-size: 13px; color: var(--text-dim); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  /* Nav - hamburger menu */
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; order: 2; margin-left: auto; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
  .nav-inner { height: 60px; padding: 0 16px; flex-wrap: nowrap; align-items: center; position: relative; }
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(12px);
    z-index: 99;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .auth-nav { padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
  .auth-nav .btn { width: 100%; text-align: center; display: block; }
  .lang-toggle { font-size: 13px; padding: 10px 12px; margin-top: 16px; align-self: flex-start; }

  /* Hero */
  .hero { padding: 80px 0 48px; }
  .hero h1 { font-size: 32px; line-height: 1.2; }
  .hero-desc { font-size: 15px; }
  .hero-badge { font-size: 13px; padding: 6px 14px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trial { font-size: 13px; }

  /* Pain points */
  .pain-grid { grid-template-columns: 1fr; }

  /* Features */
  .feature-grid { grid-template-columns: 1fr; }
  .feature-code { font-size: 13px; overflow-x: auto; }

  /* Workflow */
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }

  /* Compare */
  .compare-row { grid-template-columns: 1fr 1fr 1fr; font-size: 13px; }

  /* Pricing */
  .pricing-grid { flex-direction: column; align-items: center; }
  .pricing-card { width: 100%; max-width: 360px; }

  /* Download */
  .download-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }

  /* Auth forms */
  .auth-card { margin: 20px 16px; padding: 28px 20px; }

  /* Dashboard */
  .dashboard-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .tab-header { flex-direction: column; gap: 8px; align-items: flex-start; }
  .team-select { width: 100%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-desc { font-size: 14px; }
  .section-title { font-size: 24px; }
  .compare-row { grid-template-columns: auto; font-size: 12px; }
  .container { padding: 0 16px; }
}

/* ==================== Admin Panel ==================== */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.admin-tabs .tab-btn {
  padding: 0.5rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.admin-tabs .tab-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.admin-tabs .tab-btn.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  background: rgba(255,255,255,0.05);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 2px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.admin-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.admin-table tr:hover {
  background: rgba(255,255,255,0.03);
}

.btn-small {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 4px;
  cursor: pointer;
  margin-right: 0.25rem;
}

.btn-small:hover {
  background: rgba(255,255,255,0.1);
}

.btn-small.btn-danger {
  color: #f44;
  border-color: #f44;
}

.btn-small.btn-danger:hover {
  background: rgba(244,68,68,0.1);
}

.admin-search {
  margin-bottom: 1rem;
}

.admin-search input {
  width: 100%;
  max-width: 400px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.15);
}

.pagination {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pagination button {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 4px;
  cursor: pointer;
}

.pagination button:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== Unified Form Input ===== */
.form-input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.15);
}

.form-input::placeholder {
  color: rgba(139, 139, 158, 0.5);
}

/* ===== Admin Tab Bar ===== */
.tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.tab-bar .tab-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s;
}

.tab-bar .tab-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.tab-bar .tab-btn.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  background: rgba(110, 231, 183, 0.08);
}
/* ===== Mobile Nav Override ===== */
@media (max-width: 768px) {
  .nav { position: fixed !important; top: 0; left: 0; right: 0; z-index: 999 !important; }
  .nav-inner { 
    height: 56px !important; 
    padding: 0 16px !important; 
    flex-wrap: nowrap !important; 
    align-items: center !important;
  }
  .nav-links { 
    display: none !important;
  }
  .nav-links.open { 
    display: flex !important;
    position: fixed !important;
    top: 56px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    flex-direction: column !important;
    padding: 20px !important;
    background: #0a0a0f !important;
    z-index: 998 !important;
    gap: 0 !important;
    overflow-y: auto !important;
  }
  .nav-links.open a { 
    font-size: 18px !important; 
    padding: 14px 0 !important; 
    color: #e4e4e7 !important;
    border-bottom: 1px solid #1e1e2e !important;
  }
  .nav-toggle { 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 5px !important; 
    background: none !important; 
    border: none !important; 
    cursor: pointer !important; 
    padding: 8px !important; 
    margin-left: auto !important;
  }
  .nav-toggle span { 
    display: block !important; 
    width: 24px !important; 
    height: 2px !important; 
    background: #e4e4e7 !important; 
    border-radius: 2px !important; 
  }
  .auth-nav { 
    display: flex !important;
    flex-direction: column !important; 
    gap: 12px !important; 
    padding-top: 20px !important; 
  }
  .auth-nav .btn { 
    width: 100% !important; 
    text-align: center !important; 
    display: block !important; 
  }
  body { padding-top: 56px !important; }
}

/* ===== Changelog ===== */
.changelog { padding: 80px 0; }
.changelog-list { max-width: 800px; margin: 0 auto; }
.changelog-item {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.changelog-item:last-child { border-bottom: none; }
.changelog-date {
  min-width: 100px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.changelog-version {
  font-size: 16px; font-weight: 700; color: var(--accent);
}
.changelog-date-text {
  font-size: 13px; color: var(--text-dim);
}
.changelog-content h3 {
  font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 12px;
}
.changelog-content ul {
  list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px;
}
.changelog-content li {
  font-size: 14px; color: var(--text-dim); padding-left: 20px; position: relative;
}
.changelog-content li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: 0.6;
}
@media (max-width: 768px) {
  .changelog-item { flex-direction: column; gap: 8px; }
  .changelog-date { flex-direction: row; gap: 12px; align-items: center; }
}

/* Changelog bilingual */
.changelog-subtitle {
  font-weight: 400; font-size: 15px; color: var(--text-dim); margin-left: 4px;
}
.changelog-bilingual li {
  display: flex; flex-direction: column; gap: 2px; padding-left: 20px;
}
.changelog-bilingual .lang-en {
  color: var(--text); font-size: 14px;
}
.changelog-bilingual .lang-zh {
  color: var(--text-dim); font-size: 13px;
}

/* ===== SSH CA Security Section ===== */
.security {
  padding: 80px 0;
  background: linear-gradient(180deg, #0a0a0f 0%, #0d1117 50%, #0a0a0f 100%);
}
.security .section-title { color: #6ee7b7; }
.security .section-desc { color: #8b8b9e; max-width: 640px; margin: 0 auto 48px; text-align: center; line-height: 1.7; }

.security-flow {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 56px;
}
.security-step {
  flex: 1;
  background: #111118;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s;
}
.security-step:hover { border-color: #6ee7b7; }
.security-step-icon { font-size: 36px; margin-bottom: 8px; }
.security-step-num { font-size: 12px; color: #6ee7b7; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.security-step h3 { color: #e4e4e7; font-size: 18px; margin: 0 0 10px; }
.security-step p { color: #8b8b9e; font-size: 14px; line-height: 1.6; margin: 0; }
.security-arrow { color: #6ee7b7; font-size: 24px; padding-top: 60px; flex-shrink: 0; }

.security-detail { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.security-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 6px;
  color: #6ee7b7;
  font-size: 12px;
  white-space: nowrap;
}

.security-code { text-align: left; margin-top: 16px; }
.security-code .code-header { display: flex; align-items: center; gap: 6px; background: #16161e; padding: 8px 12px; border-radius: 8px 8px 0 0; }
.security-code .code-title { color: #6b6b80; font-size: 12px; margin-left: 6px; }
.security-code pre { background: #0d0d14; padding: 12px 16px; border-radius: 0 0 8px 8px; margin: 0; overflow-x: auto; }
.security-code code { font-size: 13px; line-height: 1.6; }

.security-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.security-highlight-card {
  background: #111118;
  border: 1px solid #1e1e2e;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.security-highlight-card:hover { border-color: #6ee7b7; transform: translateY(-2px); }
.sh-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.security-highlight-card h4 { color: #e4e4e7; font-size: 14px; margin: 0 0 6px; }
.security-highlight-card p { color: #6b6b80; font-size: 12px; line-height: 1.5; margin: 0; }

.security-arch { text-align: center; }
.security-arch h3 { color: #e4e4e7; font-size: 18px; margin: 0 0 24px; }
.arch-diagram { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.arch-box {
  background: #111118;
  border: 1px solid #1e1e2e;
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  min-width: 140px;
}
.arch-box strong { display: block; color: #e4e4e7; font-size: 14px; margin: 4px 0; }
.arch-box small { display: block; color: #6b6b80; font-size: 11px; line-height: 1.4; }
.arch-icon { font-size: 24px; }
.arch-line { color: #6ee7b7; font-size: 14px; font-family: monospace; }

.arch-vault { border-color: #6ee7b7; }
.arch-cert { border-color: #fbbf24; }
.arch-server { border-color: #60a5fa; }

@media (max-width: 768px) {
  .security-flow { flex-direction: column; }
  .security-arrow { transform: rotate(90deg); padding: 0; margin: 0 auto; }
  .security-highlights { grid-template-columns: 1fr 1fr; }
  .arch-diagram { flex-direction: column; }
  .arch-line { transform: rotate(90deg); }
}
@media (max-width: 480px) {
  .security-highlights { grid-template-columns: 1fr; }
}

/* Vault Admin Panel */
.vault-panel { padding: 16px 0; }
.vault-section { margin-bottom: 20px; }
.vault-section h4 { margin: 0 0 12px 0; font-size: 16px; color: #333; }
.vault-section .btn { margin-right: 8px; margin-bottom: 8px; }
