/* SafeBlob Landing — bunny.net-inspired high-contrast energy + tactile skeuomorphic polish */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fa;
  --text: #111827;
  --text-2: #4b5563;
  --border: #dce4f0;
  --hero-bg: #0c1222;
  --hero-card: #131c33;
  --hero-border: rgba(255, 255, 255, 0.12);
  --orange-top: #ff8a3d;
  --orange-bot: #f95716;
  --blue-top: #2589f5;
  --blue-bot: #0f6cbd;
  --folder-top: #b87443;
  --folder-base: #8e5227;
  --folder-edge: #5d3214;
  --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow-float: 0 22px 54px rgba(2, 6, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] {
  --bg: #0b111e;
  --surface: #131c2e;
  --surface-2: #0f1726;
  --text: #f3f6fc;
  --text-2: #9fb0c7;
  --border: #223049;
  --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sb-landing {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.sb-container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }

/* Buttons */
.sb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .1s ease, box-shadow .15s ease, filter .15s ease;
}
.sb-btn:active { transform: translateY(1px); }
.sb-btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }
.sb-btn-block { width: 100%; }

.sb-btn-orange {
  background: linear-gradient(180deg, var(--orange-top) 0%, var(--orange-bot) 100%);
  border-color: #c9410c;
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 6px 20px rgba(249, 87, 22, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}
.sb-btn-orange:hover { filter: brightness(1.05); }

.sb-btn-primary {
  background: linear-gradient(180deg, var(--blue-top) 0%, var(--blue-bot) 100%);
  border-color: #0a4c87;
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.22);
  box-shadow: 0 4px 14px rgba(15, 108, 189, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.sb-btn-ghost { color: #dce6f7; }
.sb-btn-ghost:hover { color: #fff; }
.sb-btn-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.sb-btn-dark:hover { background: rgba(255, 255, 255, 0.14); }

/* Sticky Nav */
.sb-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 18, 34, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.sb-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.sb-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.sb-brand-icon {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(180deg, var(--orange-top), var(--orange-bot));
  color: #fff; font-size: 13px; font-weight: 900;
  box-shadow: 0 3px 10px rgba(249, 87, 22, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.sb-links { display: flex; align-items: center; gap: 26px; color: #b9c7de; font-size: 14px; font-weight: 600; }
.sb-links a:hover { color: #fff; }
.sb-nav-cta { display: flex; align-items: center; gap: 10px; }
.sb-icon-pill {
  width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #e5eefb; cursor: pointer;
}

/* Hero */
.sb-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 78% 18%, rgba(249, 87, 22, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 18% 12%, rgba(37, 137, 245, 0.26) 0%, transparent 50%),
              var(--hero-bg);
  color: #fff;
  padding: 64px 0 56px;
}
.sb-hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center;
}
.sb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12.5px; font-weight: 700; color: #ffd7bd; margin-bottom: 18px;
}
.sb-pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff7b29; box-shadow: 0 0 10px #ff7b29; }
.sb-hero h1 {
  margin: 0 0 18px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08;
  font-weight: 850; letter-spacing: -0.03em;
}
.sb-grad-text {
  background: linear-gradient(90deg, #ff9d52 0%, #ff6326 52%, #60a5fa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sb-hero-sub { margin: 0 0 28px; color: #c4d1e6; font-size: 17px; max-width: 540px; }
.sb-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.sb-trust-strip { display: flex; flex-wrap: wrap; gap: 10px 20px; color: #9fb0c9; font-size: 13px; }
.sb-trust-strip strong { color: #fff; }

/* Hero Skeuomorphic Drive Window */
.sb-window-card {
  background: linear-gradient(180deg, #19243f 0%, #10172b 100%);
  border: 1px solid var(--hero-border);
  border-radius: 18px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.sb-window-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sb-dots { display: flex; gap: 6px; }
.sb-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.sb-url-pill {
  padding: 4px 14px; border-radius: 999px; font-size: 12px; color: #cbd8ec;
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.08);
}
.sb-status-chip { font-size: 11.5px; font-weight: 700; color: #4ade80; }
.sb-window-body { padding: 18px; }
.sb-mini-toolbar { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: #9fb0c9; margin-bottom: 14px; }
.sb-mini-toolbar strong { color: #fff; }
.sb-quota-pill { padding: 3px 9px; border-radius: 999px; background: rgba(37, 137, 245, 0.2); color: #7cc0ff; font-weight: 700; font-size: 11.5px; }

.sb-folder-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.sb-skeu-folder { position: relative; padding-top: 8px; }
.sb-folder-tab {
  display: block; width: 42%; height: 10px; border-radius: 6px 8px 0 0;
  background: linear-gradient(180deg, var(--folder-top), var(--folder-base));
  border: 1px solid var(--folder-edge); border-bottom: 0;
}
.sb-folder-face {
  padding: 12px 13px; border-radius: 0 10px 10px 10px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 232, 196, 0.52) 0 3px, transparent 3px 6px) 8px calc(100% - 4px) / calc(100% - 16px) 1px no-repeat,
    linear-gradient(180deg, var(--folder-top) 0%, var(--folder-base) 100%);
  border: 1px solid var(--folder-edge);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 232, 196, 0.45);
}
.sb-folder-face strong { display: block; font-size: 13px; color: #fff8ee; }
.sb-folder-face span { font-size: 11px; color: rgba(255, 244, 228, 0.8); }

.sb-file-list { display: flex; flex-direction: column; gap: 8px; }
.sb-file-row {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.sb-file-badge {
  display: inline-grid; place-items: center; width: 36px; height: 32px; border-radius: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.04em; color: #fff;
}
.sb-file-badge.pdf { background: linear-gradient(180deg, #ef4444, #b91c1c); }
.sb-file-badge.vid { background: linear-gradient(180deg, #ec4899, #be185d); }
.sb-file-badge.zip { background: linear-gradient(180deg, #8b5cf6, #6d28d9); }
.sb-file-meta { flex: 1; min-width: 0; }
.sb-file-meta strong { display: block; font-size: 12.5px; color: #f8fafc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-file-meta span { font-size: 11px; color: #94a3b8; }
.sb-speed-tag {
  padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700;
  background: rgba(255, 255, 255, 0.08); color: #ffd4b8;
}

/* Telemetry Strip */
.sb-metrics-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 44px; padding: 20px 24px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.sb-metric strong { display: block; font-size: 22px; font-weight: 850; color: #ff944d; }
.sb-metric span { font-size: 13px; color: #b9c7de; }

/* Content Sections */
.sb-section { padding: 76px 0; }
.sb-alt-bg { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sb-section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.sb-tag {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  background: rgba(249, 87, 22, 0.12); color: #ea580c;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; margin-bottom: 10px;
}
.sb-section-head h2, .sb-split h2 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.16; letter-spacing: -0.02em; }
.sb-section-head p, .sb-lead { margin: 0; color: var(--text-2); font-size: 16px; }

.sb-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sb-card {
  padding: 24px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sb-card:hover { transform: translateY(-2px); }
.sb-card h3 { margin: 14px 0 8px; font-size: 17px; }
.sb-card p { margin: 0; color: var(--text-2); font-size: 14px; }
.sb-card code { padding: 1px 5px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; }
.sb-card-ico {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.sb-card-ico.orange { background: #ffedd5; }
.sb-card-ico.blue { background: #dbeafe; }
.sb-card-ico.teal { background: #ccfbf1; }
.sb-card-ico.purple { background: #ede9fe; }
.sb-card-ico.amber { background: #fef3c7; }
.sb-card-ico.green { background: #dcfce7; }

/* Architecture Split */
.sb-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.sb-checklist { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.sb-checklist li { position: relative; padding-left: 24px; color: var(--text-2); }
.sb-checklist li::before { content: "✓"; position: absolute; left: 0; color: #f95716; font-weight: 900; }
.sb-code-card {
  border-radius: 16px; overflow: hidden;
  background: #0d1426; color: #e2e8f0;
  border: 1px solid #24324d; box-shadow: var(--shadow-float);
}
.sb-code-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px; font-weight: 700;
}
.sb-pill-badge { padding: 3px 8px; border-radius: 6px; background: rgba(249, 87, 22, 0.22); color: #ff9d5c; font-size: 11px; }
.sb-code-card pre { margin: 0; padding: 18px; font: 12.5px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; }

/* Pricing */
.sb-pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 22px; }
.sb-price-card {
  position: relative; padding: 28px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.sb-price-card.featured { border: 2px solid #f95716; }
.sb-ribbon {
  position: absolute; top: -12px; right: 20px; padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(180deg, var(--orange-top), var(--orange-bot));
  color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em;
}
.sb-price-tier { font-size: 14px; font-weight: 750; color: var(--text-2); }
.sb-price-val { font-size: 34px; font-weight: 850; margin: 6px 0 10px; letter-spacing: -0.02em; }
.sb-price-val span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.sb-price-card p { margin: 0 0 18px; color: var(--text-2); font-size: 14px; }
.sb-price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; flex: 1; }

/* CTA Band & Footer */
.sb-cta-band {
  padding: 52px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #3b1d14 100%);
  color: #fff;
}
.sb-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sb-cta-inner h2 { margin: 0 0 6px; font-size: 26px; }
.sb-cta-inner p { margin: 0; color: #cbd5e1; }

.sb-footer { padding: 28px 0; border-top: 1px solid var(--border); background: var(--surface); }
.sb-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.sb-footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 750; }
.sb-muted { color: var(--text-2); font-weight: 500; }
.sb-footer-links { display: flex; gap: 18px; color: var(--text-2); }
.sb-footer-links a:hover { color: var(--text); }

@media (max-width: 920px) {
  .sb-hero-grid, .sb-split { grid-template-columns: 1fr; }
  .sb-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .sb-metrics-bar { grid-template-columns: repeat(2, 1fr); }
  .sb-links { display: none; }
}
@media (max-width: 600px) {
  .sb-feature-grid, .sb-pricing-grid, .sb-folder-row, .sb-metrics-bar { grid-template-columns: 1fr; }
}