/* File Shredder — site styles. Palette taken from the app icon. */
:root {
  --bg: #040a1c;
  --bg-2: #07123a;
  --panel: rgba(140, 190, 255, 0.05);
  --panel-strong: rgba(140, 190, 255, 0.09);
  --line: rgba(120, 175, 255, 0.16);
  --text: #eaf2ff;
  --muted: #93a6cb;
  --blue: #2f7bff;
  --blue-deep: #1557e0;
  --cyan: #3be3ff;
  --doc: #cfe3ff;
  --radius: 14px;
  --max: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 50% -120px, rgba(47, 123, 255, 0.22), transparent 70%),
    radial-gradient(700px 400px at 85% 30%, rgba(59, 227, 255, 0.06), transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 10, 28, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 17px; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel); }
.nav .btn { margin-left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  font: 600 15px/1 var(--font); color: #fff; border: 1px solid transparent; cursor: pointer;
  background: linear-gradient(180deg, #3d88ff, var(--blue-deep));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 8px 28px rgba(47, 123, 255, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 12px 36px rgba(47, 123, 255, 0.5); }
.btn svg { width: 18px; height: 18px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; border-radius: 12px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; box-shadow: none; }
.nav .btn-sm, .nav .btn-sm:hover { color: #fff; background: linear-gradient(180deg, #3d88ff, var(--blue-deep)); }
.btn-ghost { background: var(--panel); border-color: var(--line); box-shadow: none; color: var(--text); }
.btn-ghost:hover { background: var(--panel-strong); box-shadow: none; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font: 500 13px/1.2 var(--mono); color: var(--doc);
  background: var(--panel); border: 1px solid var(--line);
}
.chip .dot { width: 6px; height: 6px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 750; letter-spacing: -0.04em; text-wrap: balance; }
.hero h1 .glow { background: linear-gradient(90deg, #9fd0ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 560px; margin: 20px auto 0; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); text-wrap: balance; }
.hero .chips { margin-top: 28px; }
.hero .cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero .cta small { color: var(--muted); font-size: 13px; }

/* ---------- App window mock-up ---------- */
.showcase { position: relative; padding: 40px 0 120px; display: flex; justify-content: center; }
.showcase::before { /* glow behind the window */
  content: ""; position: absolute; left: 50%; top: 40px; width: min(820px, 96vw); height: 560px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47, 123, 255, 0.38), rgba(59, 227, 255, 0.10) 60%, transparent);
  filter: blur(20px); pointer-events: none;
}
.portal { /* glowing ring under the window, as in the icon */
  position: absolute; left: 50%; bottom: 56px; width: min(720px, 92vw); height: 120px; transform: translateX(-50%);
  border-radius: 50%; border: 2px solid rgba(59, 227, 255, 0.75);
  box-shadow: 0 0 40px rgba(59, 227, 255, 0.55), inset 0 0 40px rgba(59, 227, 255, 0.35);
  background: radial-gradient(closest-side, rgba(59, 227, 255, 0.25), transparent 75%);
  pointer-events: none;
}
.portal::after { content: ""; position: absolute; inset: 22px 90px; border-radius: 50%; border: 1px solid rgba(59, 227, 255, 0.35); }
.fragments { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fragments span {
  position: absolute; display: block; border-radius: 3px;
  background: linear-gradient(180deg, rgba(207, 227, 255, 0.95), rgba(59, 227, 255, 0.75));
  box-shadow: 0 0 14px rgba(59, 227, 255, 0.6);
  animation: drift 7s ease-in-out infinite;
}
@keyframes drift { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(14px); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .fragments span { animation: none; } }

.mac-window {
  position: relative; z-index: 2; width: min(460px, 92vw);
  border-radius: 14px; overflow: hidden;
  background: #1e2230; color: #e6e9f2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.5), 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 80px rgba(47, 123, 255, 0.25);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font);
  font-size: 13px; text-align: left;
}
.mw-titlebar { position: relative; height: 38px; display: flex; align-items: center; justify-content: center; background: #2a2f40; border-bottom: 1px solid rgba(0,0,0,0.35); }
.mw-lights { position: absolute; left: 14px; display: flex; gap: 8px; }
.mw-lights i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.mw-lights i:nth-child(1) { background: #ff5f57; } .mw-lights i:nth-child(2) { background: #febc2e; } .mw-lights i:nth-child(3) { background: #28c840; }
.mw-title { font-weight: 600; font-size: 13px; color: #cfd5e4; }
.mw-body { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.mw-method { display: flex; align-items: center; gap: 8px; }
.mw-select { display: inline-flex; align-items: center; gap: 8px; padding: 3px 8px 3px 10px; border-radius: 6px; background: #3a4052; border: 1px solid rgba(255,255,255,0.08); }
.mw-select svg, .mw-info svg { width: 12px; height: 12px; }
.mw-info { color: #8aa4ff; display: inline-flex; }
.mw-caption { color: #9ba3b8; font-size: 11px; }
.mw-steps { font-weight: 700; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.mw-list { border: 1px solid rgba(255,255,255,0.12); background: #161a25; min-height: 170px; }
.mw-list-head { text-align: center; padding: 6px; border-bottom: 1px solid rgba(255,255,255,0.1); color: #cfd5e4; }
.mw-row { display: flex; align-items: center; gap: 8px; padding: 6px 10px; }
.mw-row.sel { background: #2f6fde; color: #fff; }
.mw-row svg { width: 16px; height: 16px; flex: none; }
.mw-check { display: flex; align-items: center; gap: 8px; }
.mw-check i { width: 14px; height: 14px; border-radius: 4px; background: #2f7bff; display: inline-flex; align-items: center; justify-content: center; }
.mw-check i svg { width: 10px; height: 10px; }
.mw-bar { display: flex; align-items: center; gap: 8px; }
.mw-shred { padding: 7px 0; width: 118px; text-align: center; border-radius: 7px; background: #2f7bff; color: #fff; font-weight: 600; }
.mw-bar .sp { flex: 1; }
.mw-small { padding: 3px 9px; border-radius: 6px; background: #3a4052; color: #e6e9f2; border: 1px solid rgba(255,255,255,0.08); }

/* Finder right-click menu, floating beside the window */
.ctx {
  position: absolute; z-index: 3; left: calc(50% + 250px); top: 360px; width: 230px;
  padding: 6px; border-radius: 10px; text-align: left;
  background: rgba(40, 46, 66, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  font: 13px/1.2 -apple-system, BlinkMacSystemFont, var(--font); color: #e6e9f2;
}
.ctx div { padding: 6px 10px; border-radius: 6px; }
.ctx .sep { height: 1px; padding: 0; margin: 5px 8px; background: rgba(255,255,255,0.12); }
.ctx .hi { background: #2f7bff; color: #fff; font-weight: 600; }
@media (max-width: 1060px) { .ctx { display: none; } }
@media (min-width: 900px) { .mac-window { zoom: 1.32; } .portal { bottom: 40px; width: min(860px, 92vw); height: 140px; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.section-head p { margin-top: 12px; color: var(--muted); }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; display: block; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.card {
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--line);
}
.card h3 { font-size: 18px; font-weight: 650; margin-top: 16px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.icon-tile {
  width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: rgba(47, 123, 255, 0.14); border: 1px solid rgba(59, 227, 255, 0.28); color: var(--cyan);
}
.icon-tile svg { width: 22px; height: 22px; }

.cta-band {
  margin: 0 auto 96px; padding: 56px 24px; border-radius: 22px; text-align: center;
  background:
    radial-gradient(600px 220px at 50% 120%, rgba(59, 227, 255, 0.25), transparent 70%),
    linear-gradient(180deg, #0a1a4a, #071235);
  border: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; }
.cta-band p { margin: 12px 0 28px; color: var(--muted); }

/* ---------- Inner pages ---------- */
.page-head { padding: 72px 0 32px; text-align: center; }
.page-head h1 { font-size: clamp(36px, 6vw, 56px); font-weight: 750; letter-spacing: -0.035em; }
.page-head p { margin: 14px auto 0; max-width: 540px; color: var(--muted); font-size: 18px; text-wrap: balance; }
.narrow { max-width: 760px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; gap: 16px; }

.download-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 44px 28px; }
.download-card img { width: 112px; height: 112px; }
.download-card h2 { font-size: 26px; font-weight: 700; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font: 600 13px/1 var(--mono); color: var(--cyan); }
.step h3 { font-size: 16px; margin-top: 12px; }
.step p { font-size: 14px; color: var(--muted); margin-top: 6px; }

.specs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

.note { padding: 16px 18px; border-radius: 12px; background: rgba(59, 227, 255, 0.06); border: 1px solid rgba(59, 227, 255, 0.22); font-size: 14px; color: var(--doc); }

.amounts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.amounts .btn { min-width: 110px; }
.amount { flex-direction: column; gap: 6px; min-height: 76px; min-width: 132px; font-size: 22px; font-weight: 700; }
.amount small { font: 600 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.btn:not(.btn-ghost).amount small { color: rgba(255, 255, 255, 0.78); }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--doc); }
.field input, .field select, .field textarea {
  font: 15px/1.4 var(--font); color: var(--text);
  background: rgba(4, 10, 28, 0.6); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; min-height: 46px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(59, 227, 255, 0.18); }
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.segmented { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.segmented input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.segmented label { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; font-size: 14px; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.segmented input:checked + label { color: #fff; border-color: rgba(59, 227, 255, 0.6); background: rgba(47, 123, 255, 0.2); }
.segmented input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 2px; }

details.faq { border-top: 1px solid var(--line); padding: 18px 0; }
details.faq:last-child { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: "+"; color: var(--cyan); font-family: var(--mono); }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin-top: 10px; color: var(--muted); font-size: 15px; }

.prose p + p { margin-top: 14px; }
.prose p { color: var(--muted); font-size: 17px; }
.prose strong { color: var(--text); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

@media (max-width: 720px) {
  .site-header .wrap { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; gap: 8px; }
  .nav { margin-left: 0; width: 100%; }
  .nav a { padding: 8px 10px; }
  .nav .btn-sm { display: none; }
  .hero { padding-top: 48px; }
}
