@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f8f9fb;
  --bg-card: #ffffff;
  --bg-hover: #f1f3f7;
  --bg-input: #f4f5f7;
  --border: #e2e5eb;
  --border-light: #edf0f4;
  --text: #1a1d26;
  --text-secondary: #5a6175;
  --text-tertiary: #8b92a5;
  --accent: #e8453c;
  --accent-hover: #d63a32;
  --accent-light: rgba(232,69,60,0.06);
  --green: #10b981;
  --green-bg: rgba(16,185,129,0.08);
  --green-text: #059669;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --hero-gradient: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  --trust-gradient: linear-gradient(135deg, #fef2f2 0%, #fff 50%, #fef2f2 100%);
}

[data-theme="dark"] {
  --bg: #0f1117;
  --bg-card: #181a23;
  --bg-hover: #1e2130;
  --bg-input: #1e2130;
  --border: #2a2d3a;
  --border-light: #222532;
  --text: #e8eaf0;
  --text-secondary: #a0a5b8;
  --text-tertiary: #6b7085;
  --accent: #ef5a52;
  --accent-hover: #e8453c;
  --accent-light: rgba(239,90,82,0.1);
  --green: #34d399;
  --green-bg: rgba(52,211,153,0.1);
  --green-text: #34d399;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
  --hero-gradient: linear-gradient(180deg, #181a23 0%, var(--bg) 100%);
  --trust-gradient: linear-gradient(135deg, rgba(239,90,82,0.06) 0%, var(--bg-card) 50%, rgba(239,90,82,0.06) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
.header {
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { font-size: 19px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.logo span { color: var(--accent); }
.header-links { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 500; }
.header-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.15s; }
.header-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ── */
.hero-section {
  text-align: center;
  padding: 64px 24px 32px;
  background: var(--hero-gradient);
}
.hero-inner { max-width: 600px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}
.hero-section h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
}
.hero-section h1 span { color: var(--accent); }
.hero-section p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Upload Section ── */
.upload-section {
  padding: 0 24px 64px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.upload-section::before { display: none; }
.upload-section::after { display: none; }
.upload-section .upload-wrap { position: relative; z-index: 1; }

.cloud-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.floating-cloud {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  background: rgba(232,69,60,0.1);
  border: 1px solid rgba(232,69,60,0.18);
  border-radius: 20px;
  animation: floatAcross var(--duration) linear infinite, glowPulse 2s ease-in-out infinite;
  animation-delay: var(--delay), var(--delay);
  box-shadow: 0 0 12px rgba(232,69,60,0.3), 0 0 24px rgba(232,69,60,0.15);
}
.floating-cloud svg {
  width: 18px; height: 18px;
  stroke: rgba(232,69,60,0.7);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(232,69,60,0.3), 0 0 24px rgba(232,69,60,0.15); }
  50% { box-shadow: 0 0 18px rgba(232,69,60,0.5), 0 0 36px rgba(232,69,60,0.25), 0 0 50px rgba(232,69,60,0.1); }
}
.floating-cloud .cloud-shape {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: rgba(232,69,60,0.05);
}

.floating-cloud.has-lock .lock-poof {
  animation: lockPoof 3s ease-in-out infinite;
  animation-delay: var(--poof-delay, 0s);
}

.floating-cloud:nth-child(1) { top: 8%; --duration: 16s; --delay: 0s; }
.floating-cloud:nth-child(2) { top: 22%; --duration: 20s; --delay: -4s; }
.floating-cloud:nth-child(3) { top: 38%; --duration: 18s; --delay: -8s; }
.floating-cloud:nth-child(4) { top: 52%; --duration: 14s; --delay: -2s; }
.floating-cloud:nth-child(5) { top: 66%; --duration: 22s; --delay: -11s; }
.floating-cloud:nth-child(6) { top: 78%; --duration: 17s; --delay: -6s; }
.floating-cloud:nth-child(7) { top: 15%; --duration: 19s; --delay: -13s; }
.floating-cloud:nth-child(8) { top: 88%; --duration: 15s; --delay: -5s; }
.floating-cloud:nth-child(9) { top: 45%; --duration: 21s; --delay: -9s; }
.floating-cloud:nth-child(10) { top: 60%; --duration: 16s; --delay: -1s; }
.floating-cloud:nth-child(11) { top: 30%; --duration: 18s; --delay: -14s; }
.floating-cloud:nth-child(12) { top: 72%; --duration: 20s; --delay: -7s; }

@keyframes floatAcross {
  0% { left: -200px; opacity: 0; transform: scale(1); }
  5% { opacity: 1; }
  60% { opacity: 1; transform: scale(1); }
  70% { opacity: 0.6; transform: scale(1.4); }
  75% { opacity: 0; transform: scale(1.8); }
  100% { left: calc(100% + 50px); opacity: 0; transform: scale(0); }
}

@keyframes lockPoof {
  0%, 70% { transform: scale(1); opacity: 1; }
  80% { transform: scale(1.3); opacity: 0.6; }
  90% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes cloudDrift {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(5px) translateY(-3px); }
}

[data-theme="light"] .floating-cloud {
  background: rgba(232,69,60,0.1);
  border-color: rgba(232,69,60,0.2);
}
[data-theme="light"] .floating-cloud svg {
  stroke: rgba(232,69,60,0.7);
}
.upload-wrap { max-width: 520px; margin: 0 auto; }
.upload-wrap > .card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 32px 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.tab-bar {
  display: flex; gap: 4px;
  background: var(--bg); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); padding: 3px; margin-bottom: 20px;
}
.tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px; border: none; background: none; border-radius: 6px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; transition: all 0.15s ease;
}
.tab:hover { color: var(--text); background: var(--accent-light); }
.tab.active { background: var(--accent); color: #fff; }
.tab svg { opacity: 0.7; }
.tab.active svg { opacity: 1; stroke: #fff; }

.text-input {
  width: 100%; min-height: 140px; max-height: 300px; resize: vertical;
  padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); font-size: 14px; font-family: inherit;
  transition: border-color 0.2s ease; line-height: 1.6; box-sizing: border-box;
}
.text-input:focus { outline: none; border-color: var(--accent); }
.text-input::placeholder { color: var(--text-tertiary); }

.drop-zone {
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 5px solid transparent;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
  background: #fff;
  background-clip: padding-box;
  box-shadow:
    0 0 0 8px rgba(232,69,60,0.06),
    0 8px 32px rgba(0,0,0,0.08);
  animation: bubbleFloat 3.5s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
}
.drop-zone::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  padding: 5px;
  background: conic-gradient(from 0deg, #e8453c, #ff6b5e, #e8453c, #c93a33, #e8453c);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spinBorder 2s linear infinite;
}
.drop-zone::after { display: none; }

[data-theme="dark"] .drop-zone {
  background: rgba(255,255,255,0.95);
}

.drop-zone:hover {
  box-shadow:
    0 0 0 12px rgba(232,69,60,0.1),
    0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px) scale(1.02);
}
.drop-zone.drag-over {
  transform: scale(0.95);
  box-shadow:
    0 0 0 14px rgba(232,69,60,0.15),
    0 4px 20px rgba(0,0,0,0.08);
}
.drop-zone h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: #1a1a2e; margin-top: 12px; }
.drop-zone p { font-size: 11px; color: #666; line-height: 1.4; }
.bubble-content-inner { display: flex; flex-direction: column; align-items: center; }
.bubble-content-inner svg { stroke: var(--accent); }

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes spinBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes bubblePop {
  0% { transform: scale(1); opacity: 1; }
  30% { transform: scale(0.85); opacity: 0.9; }
  60% { transform: scale(1.3); opacity: 0.3; }
  100% { transform: scale(1.6); opacity: 0; }
}
.drop-zone.popping {
  animation: bubblePop 0.5s ease forwards !important;
  pointer-events: none;
}

.file-info {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px;
}
.file-icon {
  width: 42px; height: 42px; background: var(--accent);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.file-details { flex: 1; min-width: 0; }
.file-details .name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-details .size { font-size: 12px; color: var(--text-tertiary); margin-top: 1px; }
.file-remove { background: none; border: none; color: var(--text-tertiary); cursor: pointer; padding: 4px; border-radius: 6px; }
.file-remove:hover { color: var(--accent); background: var(--accent-light); }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.option-group { display: flex; flex-direction: column; gap: 6px; }
.option-group label { font-size: 11px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.6px; }
.option-group select, .option-group input[type="password"] {
  background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-xs);
  padding: 10px 12px; color: var(--text); font-size: 14px; font-family: inherit; outline: none;
}
.option-group select:focus, .option-group input[type="password"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

.btn {
  display: block; width: 100%; padding: 14px; border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 8px rgba(232,69,60,0.2); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 16px rgba(232,69,60,0.25); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-hover); }

.progress-section { display: none; margin-bottom: 20px; }
.progress-bar { height: 6px; background: var(--bg-hover); border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 3px; transition: width 0.4s ease; width: 0%; }
.progress-text { font-size: 13px; color: var(--text-secondary); text-align: center; }

.result-section { display: none; text-align: center; }
.result-section .check {
  width: 56px; height: 56px; background: var(--green-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.result-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.result-section .sub { font-size: 13px; color: var(--text-tertiary); margin-bottom: 20px; }
.link-box { display: flex; gap: 8px; margin-bottom: 16px; }
.link-box input {
  flex: 1; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-xs);
  padding: 10px 12px; color: var(--text); font-size: 12px; font-family: 'SF Mono','Fira Code',monospace; outline: none;
}
.link-box button {
  padding: 10px 20px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius-xs);
  cursor: pointer; font-weight: 600; font-size: 13px; font-family: inherit; white-space: nowrap;
}
.link-box button:hover { background: var(--accent-hover); }

/* ── How it Works ── */
.section-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 8px; }
.section-header p { color: var(--text-secondary); font-size: 15px; }

.how-section { padding: 64px 0; background: var(--bg-card); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.step {
  flex: 1; max-width: 240px; text-align: center; padding: 0 16px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent);
  color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step-content h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.step-arrow { display: flex; align-items: center; padding-top: 8px; }

/* ── Features ── */
.features-section { padding: 64px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 16px;
  padding: 28px 24px; transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; background: var(--accent-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

/* ── CTA ── */
.cta-section { padding: 0 0 64px; }
.cta-box {
  text-align: center; background: var(--text); border-radius: var(--radius);
  padding: 48px 32px; color: #fff;
}
.cta-box h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.cta-box p { color: #94a3b8; font-size: 15px; margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }
.cta-box .btn-primary { box-shadow: 0 2px 12px rgba(232,69,60,0.4); }

/* ── Footer ── */
.footer {
  padding: 24px 32px; border-top: 1px solid var(--border-light); background: var(--bg-card);
}
.footer-inner {
  max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
}
.footer-brand p { font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }
.footer-brand .logo { font-size: 16px; }
.footer-links-group { display: flex; gap: 20px; font-size: 13px; }
.footer-links-group a { color: var(--text-secondary); text-decoration: none; }
.footer-links-group a:hover { color: var(--text); }

/* ── Download page ── */
.dl-wrap {
  max-width: 460px; margin: 0 auto; padding: 80px 24px 64px;
  min-height: calc(100vh - 200px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.dl-card { text-align: center; width: 100%; }
.dl-card .file-icon-big {
  width: 68px; height: 68px; background: linear-gradient(135deg, var(--accent), #c0392b); border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 6px 20px rgba(232,69,60,0.18);
}
.dl-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 4px; word-break: break-all; }
.dl-card .meta { font-size: 13px; color: var(--text-tertiary); margin-bottom: 24px; }
.dl-card .password-field { margin-bottom: 16px; }
.dl-card .password-field input {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-xs);
  padding: 12px; color: var(--text); font-size: 14px; font-family: inherit; text-align: center; outline: none;
  box-sizing: border-box;
}
.dl-card .password-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

.badges { display: flex; justify-content: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--text-tertiary); }
.badge svg { color: var(--green-text); flex-shrink: 0; }

/* ── Header GitHub link ── */
.gh-link {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 12px; font-size: 12px; font-weight: 600; transition: all 0.15s;
}
.gh-link:hover { background: var(--bg-hover); border-color: var(--text-tertiary); text-decoration: none; }
.gh-link svg { opacity: 0.7; }

/* ── .priv Format Section ── */
.priv-section { padding: 64px 0; background: var(--bg-card); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.priv-box { display: flex; gap: 48px; align-items: center; }
.priv-content { flex: 1; }
.priv-badge {
  display: inline-block; padding: 4px 12px; background: #1a1d26; color: #e8453c;
  font-size: 13px; font-weight: 700; font-family: 'SF Mono','Fira Code',monospace;
  border-radius: 6px; margin-bottom: 16px;
}
.priv-content h2 { font-size: 26px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.3px; }
.priv-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 12px; }
.priv-content strong { color: var(--text); }
.priv-links { display: flex; align-items: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.priv-link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: #1a1d26; color: #fff;
  border-radius: 10px; font-size: 13px; font-weight: 600; transition: all 0.15s;
}
.priv-link-btn:hover { background: #2a2d36; text-decoration: none; transform: translateY(-1px); }
.priv-link-text { font-size: 13px; font-weight: 600; color: var(--accent); }
.priv-link-text:hover { text-decoration: underline; }

.priv-visual { flex: 0 0 320px; }
.priv-code { background: #1a1d26; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.priv-code-header {
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.priv-code-title { margin-left: auto; font-size: 11px; color: #8b92a5; font-family: 'SF Mono','Fira Code',monospace; }
.priv-code-body {
  padding: 20px; font-size: 13px; font-family: 'SF Mono','Fira Code',monospace;
  color: #e2e8f0; line-height: 1.8;
}
.priv-code-body .dim { color: #5a6175; }
.priv-code-body .key { color: #e8453c; }
.priv-code-body .val { color: #34d399; }

/* ── Blog Section ── */
.blog-section { padding: 64px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 16px;
  padding: 28px 24px; text-decoration: none; color: var(--text);
  transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.blog-tag {
  display: inline-block; width: fit-content; padding: 3px 10px; background: var(--accent-light);
  color: var(--accent); font-size: 11px; font-weight: 700; border-radius: 6px;
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.3px;
}
.blog-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; flex: 1; }
.blog-read { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 14px; }
.blog-all { font-size: 14px; font-weight: 600; color: var(--accent); }

/* ── Footer columns ── */
.footer-cols { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: var(--text-secondary); text-decoration: none; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 900px; margin: 20px auto 0; padding: 16px 24px 0;
  border-top: 1px solid var(--border-light); text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--text-tertiary); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-section h1 { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; gap: 24px; }
  .step { max-width: 100%; }
  .step-arrow { display: none; }
  .priv-box { flex-direction: column; gap: 32px; }
  .priv-visual { flex: none; width: 100%; max-width: 360px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-cols { gap: 32px; }
  .header-links { gap: 12px; font-size: 12px; }
  .gh-link span { display: none; }
  .gh-link { padding: 6px 8px; gap: 0; }
}
@media (max-width: 540px) {
  .hero-section { padding: 40px 16px 24px; }
  .hero-section h1 { font-size: 26px; }
  .options { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .cta-box { padding: 32px 20px; }
  .header { padding: 12px 16px; }
  .header-links { gap: 8px; font-size: 11px; }
  .theme-toggle { width: 32px; height: 32px; border-radius: 8px; }
  .theme-toggle svg { width: 15px; height: 15px; }
  .footer-cols { flex-direction: column; gap: 24px; }
  .priv-links { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-inner { flex-direction: column; gap: 20px; padding: 28px 20px; }
  .trust-divider { width: 60px; height: 1px; }
  .floating-cloud { padding: 6px 10px; }
  .floating-cloud svg { width: 12px; height: 12px; }
  .floating-cloud { box-shadow: 0 0 8px rgba(232,69,60,0.2), 0 0 16px rgba(232,69,60,0.1); }
  .drop-zone { width: 220px; height: 220px; }
}

.trust-bar {
  background: transparent;
  border-top: none;
  border-bottom: none;
  padding: 0;
  margin: 20px auto 0;
  max-width: 640px;
  border-radius: 16px;
  box-shadow: none;
  position: relative;
  z-index: 1;
}
.trust-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}
.trust-num, .trust-num-static {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1;
}
.trust-label {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--accent);
  opacity: 0.2;
}

/* ── Theme Toggle ── */
.theme-toggle {
  width: 36px; height: 36px; border: none; background: var(--bg-hover);
  border-radius: 10px; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: background 0.2s, transform 0.15s;
  color: var(--text-secondary); flex-shrink: 0;
}
.theme-toggle:hover { background: var(--border); transform: scale(1.05); }
.theme-toggle svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.theme-toggle:active svg { transform: rotate(30deg); }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* dark mode QR canvas fix */
[data-theme="dark"] #qrCode canvas { border-color: var(--border) !important; }

/* ── Dark mode overrides ── */
[data-theme="dark"] .cta-box {
  background: #1e2130;
  border: 1px solid var(--border);
}
[data-theme="dark"] .cta-box h2 { color: #e8eaf0; }
[data-theme="dark"] .cta-box p { color: #6b7085; }

[data-theme="dark"] .how-section,
[data-theme="dark"] .priv-section {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .step-num {
  background: rgba(239,90,82,0.12);
  color: var(--accent);
}

[data-theme="dark"] .step-arrow svg { stroke: var(--text-tertiary); }

[data-theme="dark"] .feature-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .priv-visual {
  background: #1e2130;
  border-color: var(--border);
}

[data-theme="dark"] .priv-badge {
  background: var(--accent-light);
  color: var(--accent);
}

[data-theme="dark"] .priv-link-btn {
  background: var(--accent);
  color: #fff;
}
[data-theme="dark"] .priv-link-btn:hover {
  background: var(--accent-hover);
}

[data-theme="dark"] .priv-code {
  background: #12141c;
  border: 1px solid var(--border);
}

[data-theme="dark"] .blog-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .footer {
  background: #0c0d12;
  border-color: var(--border);
}

[data-theme="dark"] .footer-bottom {
  border-color: var(--border);
}

[data-theme="dark"] .gh-link {
  background: var(--bg-hover);
  border-color: var(--border);
  color: var(--text-secondary);
}

[data-theme="dark"] .trust-bar {
  background: transparent;
  box-shadow: none;
}
