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

:root {
  /* Monochrome base */
  --bg:          #F5F5F5;
  --bg2:         #FAFAFA;
  --surface:     rgba(255,255,255,0.60);
  --surface2:    rgba(255,255,255,0.80);
  --surface3:    rgba(255,255,255,0.95);

  /* Single accent — harbor gold */
  --accent:      #F59E0B;
  --accent-dark: #D97706;
  --accent-soft: rgba(245,158,11,0.12);
  --accent-glow: rgba(245,158,11,0.25);

  /* Text */
  --text:        #0A0A0A;
  --text2:       #404040;
  --text3:       #909090;

  /* Borders */
  --border:      rgba(0,0,0,0.08);
  --border2:     rgba(0,0,0,0.14);
  --border3:     rgba(0,0,0,0.22);

  /* Shadows */
  --shadow:      0 2px 12px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow-hover:0 8px 32px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* ─── Subtle grid background ────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ─── Custom cursor ─────────────────────────────────────── */
#cursor {
  width: 12px;
  height: 12px;
  background: var(--text);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s, border-radius .2s;
  mix-blend-mode: multiply;
}

#cursor.hovering {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  mix-blend-mode: multiply;
}

#cursor.clicking {
  width: 8px;
  height: 8px;
  background: var(--text);
}

/* ─── Navigation ────────────────────────────────────────── */
/* ─── Particle canvas background ───────────────────────── */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #1a1a1a;
  

  border-bottom: 1px solid rgba(255,255,255,.08);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-logo {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  color: #ffffff;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--text);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.nav-logo em {
  font-style: normal;
  color: #F59E0B;
}

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid transparent;
  transition: all .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.15);
}

/* ─── Page wrapper ──────────────────────────────────────── */
.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 32px 100px;
  position: relative;
  z-index: 1;
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 72px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  border-radius: 99px;
  padding: 5px 14px 5px 8px;
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}

.hero-eyebrow span {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #F59E0B 0%, #FCD34D 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Accent underline on the key word */
.hero h1 .gradient-text::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0; right: 0;
  height: 6px;
  background: var(--accent);
  border-radius: 3px;
  z-index: -1;
}

.hero-sub {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 400px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  background: var(--surface3);
  border: 1px solid var(--border2);
  border-radius: 99px;
  padding: 5px 14px;
}

.hero-pills span::before {
  content: '✓';
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 11px;
}

/* ─── Hero right stat cards ─────────────────────────────── */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-stat-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}

.hero-stat-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border2);
}

.hero-stat-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 4px;
}

.hero-stat-num span {
  font-size: 28px;
  letter-spacing: -1px;
}

.hero-stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text3);
}

.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-stat-mini {
  background: var(--surface2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, border-color .2s;
}

.hero-stat-mini:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border2);
}

.hero-stat-mini .num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 3px;
}

.hero-stat-mini .lbl {
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
}

/* ─── Section labels ────────────────────────────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 8px;
}

.section-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.6px;
}

/* ─── Tool grid ─────────────────────────────────────────── */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.tool-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.2,.64,1), box-shadow .3s, border-color .25s;
  box-shadow: var(--shadow);
  will-change: transform;
}

.tool-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.34,1.2,.64,1);
}

.tool-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border2);
}

.tool-card:hover::after { transform: scaleX(1); }

.tool-card.disabled {
  opacity: .45;
  pointer-events: none;
}

.tool-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--bg);
  border: 1px solid var(--border2);
  transition: background .2s, transform .2s;
}

.tool-card:hover .tool-icon {
  background: var(--accent);
  transform: rotate(-6deg) scale(1.05);
}

.tool-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

.tool-card p {
  font-size: 14px;
  color: var(--text2);
  flex: 1;
  line-height: 1.55;
}

.card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s, gap .2s;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tool-card:hover .card-link {
  color: var(--text);
  gap: 10px;
}

.coming-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text3);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 8px;
}

/* ─── Privacy strip ─────────────────────────────────────── */
.privacy-strip {
  margin-top: 56px;
  padding: 32px 36px;
  background: var(--text);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.privacy-strip::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .12;
}

.privacy-icon { font-size: 36px; flex-shrink: 0; }

.privacy-strip h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.privacy-strip p { font-size: 14px; color: rgba(255,255,255,.6); }

/* ─── Footer ────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text3);
  position: relative;
  z-index: 1;
}

footer a { color: var(--text); font-weight: 600; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ─── Tool page header ──────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text3);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .2s;
}
.back-link:hover { color: var(--text); }

.tool-page-header h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 8px;
}

.tool-page-header p {
  font-size: 16px;
  color: var(--text2);
  margin-bottom: 36px;
}

/* ─── Upload zone ───────────────────────────────────────── */
.upload-box {
  background: var(--surface2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px dashed var(--border2);
  border-radius: var(--radius-lg);
  padding: 56px 28px;
  text-align: center;
  cursor: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-shadow: var(--shadow);
}

.upload-box:hover,
.upload-box.dragover {
  border-color: var(--text);
  background: var(--surface3);
  box-shadow: var(--shadow-hover);
}

.upload-box input[type="file"] { display: none; }
.upload-icon { font-size: 44px; margin-bottom: 14px; }

.upload-box h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.upload-box p { font-size: 14px; color: var(--text2); }

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 99px;
  border: none;
  cursor: none;
  transition: background .2s, transform .15s;
}

.upload-btn:hover {
  background: #222;
  transform: translateY(-1px);
}

/* ─── File list ─────────────────────────────────────────── */
.file-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

.file-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color .2s;
}

.file-item:hover { border-color: var(--border2); }
.file-item-icon { font-size: 24px; flex-shrink: 0; }
.file-item-info { flex: 1; min-width: 0; }

.file-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-item-size { font-size: 12px; color: var(--text3); margin-top: 2px; }

.file-item-remove {
  background: none;
  border: none;
  color: var(--text3);
  cursor: none;
  font-size: 18px;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}

.file-item-remove:hover { color: #e11d48; background: rgba(225,29,72,.08); }

/* ─── Action bar ────────────────────────────────────────── */
.action-bar {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--text);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 99px;
  border: none;
  cursor: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}

.btn-primary:hover {
  background: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.btn-primary:active  { transform: scale(.97); }
.btn-primary:disabled { opacity: .3; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-secondary {
  background: var(--surface2);
  color: var(--text2);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 99px;
  border: 1px solid var(--border2);
  cursor: none;
  transition: color .2s, border-color .2s, background .2s;
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--border3);
  background: var(--surface3);
}

/* ─── Status messages ───────────────────────────────────── */
.status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid;
}

.status.show { display: flex; }
.status.processing { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.12); color: var(--text); }
.status.success    { background: rgba(34,197,94,.07); border-color: rgba(34,197,94,.3); color: #15803d; }
.status.error      { background: rgba(225,29,72,.06); border-color: rgba(225,29,72,.2); color: #be123c; }

/* ─── Info box ──────────────────────────────────────────── */
.info-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text2);
  display: flex;
  gap: 10px;
}

/* ─── Progress bar ──────────────────────────────────────── */
.progress-wrap {
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  margin-top: 14px;
  overflow: hidden;
  display: none;
}
.progress-wrap.show { display: block; }
.progress-bar {
  height: 100%;
  background: var(--text);
  border-radius: 3px;
  width: 0%;
  transition: width .3s ease;
}

/* ─── Click ripple ──────────────────────────────────────── */
.ripple {
  position: fixed;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  pointer-events: none;
  z-index: 9990;
  animation: ripple-out .5s ease-out forwards;
  transform: translate(-50%, -50%);
}

@keyframes ripple-out {
  from { width: 0; height: 0; opacity: 1; }
  to   { width: 60px; height: 60px; opacity: 0; }
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor { display: none; }
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .page { padding: 32px 20px 72px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 48px; }
  .hero-right { display: none; }
  .btn-primary { width: 100%; justify-content: center; }
}
