/* LumenHop — file sharing for teams. Single stylesheet, no build step. */

:root {
  --ink: #131a2a;
  --ink-soft: #4a5568;
  --muted: #6b7a90;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-deep: #0f1729;
  --brand: #4338ca;
  --brand-dark: #312e9e;
  --brand-soft: #eef0ff;
  --accent: #f97316;
  --ok: #0f9d58;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(19, 26, 42, .06), 0 2px 8px rgba(19, 26, 42, .05);
  --shadow-md: 0 12px 30px rgba(19, 26, 42, .10);
  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.lead { font-size: 1.08rem; max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.16rem; color: var(--ink); letter-spacing: -.02em;
}
.brand:hover { text-decoration: none; }
.brand b { color: var(--brand); font-weight: 800; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: flex; gap: 4px; margin-left: 14px; flex: 1; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 9px;
  color: var(--ink-soft); font-weight: 600; font-size: .95rem;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 40px; height: 36px; border: 1px solid var(--line);
  background: #fff; border-radius: 9px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 17px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle span { top: 17px; }
.nav-toggle span::before { top: -6px; left: 0; transform: none; }
.nav-toggle span::after { top: 6px; left: 0; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: #c9d2e3; }
.btn--ghost { background: var(--brand-soft); color: var(--brand); }
.btn--lg { padding: 13px 24px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 64px; background:
  radial-gradient(1100px 380px at 12% -8%, #eef0ff 0%, rgba(255,255,255,0) 62%),
  radial-gradient(900px 340px at 88% 4%, #fff3e8 0%, rgba(255,255,255,0) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.grad { background: linear-gradient(95deg, var(--brand), #7c3aed 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; }

/* upload mock */
.drop {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  border: 1px solid var(--line); padding: 20px;
}
.drop-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drop-head strong { font-size: .98rem; }
.drop-head em { font-style: normal; color: var(--muted); font-size: .84rem; }
.drop-zone {
  border: 2px dashed #ccd5e6; border-radius: var(--radius); padding: 22px; text-align: center;
  background: var(--bg-soft); color: var(--muted); font-size: .92rem; font-weight: 600;
}
.drop-zone b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.file-row:last-child { border-bottom: 0; }
.file-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .02em; flex: none; }
.file-ico--x { background: #fff1e7; color: #c2410c; }
.file-ico--z { background: #eafaf1; color: #0f7a45; }
.file-meta { flex: 1; min-width: 0; }
.file-meta b { display: block; font-size: .92rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta span { font-size: .8rem; color: var(--muted); }
.bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #7c3aed); }
.tag { font-size: .74rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: #eafaf1; color: #0f7a45; }

/* ---------- sections ---------- */
section { padding: 62px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 0 34px; }
.center .section-head, .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; font-size: .95rem; }
.card-ico {
  width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 14px;
}
.card-ico svg { width: 20px; height: 20px; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .88rem; font-weight: 600; }

.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; opacity: .72; }
.logos span { font-weight: 800; letter-spacing: -.02em; color: #8e9ab0; font-size: 1.05rem; }

.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1rem; color: var(--ink); }
.who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.who i {
  width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .86rem; flex: none;
}
.who b { display: block; font-size: .92rem; }
.who span { color: var(--muted); font-size: .84rem; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.plan--hot { border-color: #c7c9ff; box-shadow: var(--shadow-md); position: relative; }
.plan--hot::after {
  content: "Most popular"; position: absolute; top: -12px; right: 20px;
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 5px 11px; border-radius: 999px; letter-spacing: .03em;
}
.price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.price span { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan ul { margin: 18px 0 22px; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; font-size: .94rem; color: var(--ink-soft); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: 15px; height: 8px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
th { font-weight: 700; background: var(--bg-soft); }
tr:last-child td { border-bottom: 0; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; font-size: .95rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .95rem; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: #a5b4fc; box-shadow: 0 0 0 3px rgba(67, 56, 202, .12);
}
.field textarea { min-height: 128px; resize: vertical; }
.office { display: grid; gap: 6px; font-size: .95rem; color: var(--ink-soft); }
.office b { color: var(--ink); }

/* ---------- auth ---------- */
.auth { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 42px 22px;
  background: radial-gradient(900px 340px at 50% -10%, #eef0ff 0%, rgba(255,255,255,0) 60%); }
.auth-card { width: 100%; max-width: 410px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: 1.6rem; margin-bottom: .25em; }
.auth-card > p { font-size: .95rem; }
.alert { display: none; gap: 10px; align-items: flex-start; background: #fff7ed; border: 1px solid #fed7aa;
  color: #9a3412; border-radius: 10px; padding: 12px 14px; font-size: .9rem; font-weight: 600; margin-bottom: 16px; }
.alert.show { display: flex; }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.auth-meta { display: flex; align-items: center; justify-content: space-between; font-size: .88rem; margin: 4px 0 18px; }
.auth-meta label { color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; }
.auth-foot { font-size: .88rem; color: var(--muted); margin-top: 18px; }
.auth-back { display: inline-block; margin-top: 10px; font-size: .88rem; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); color: #c4cde0; padding: 52px 0 26px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer a { color: #c4cde0; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 8px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; }
.foot-brand:hover { text-decoration: none; }
.foot-about { font-size: .92rem; color: #93a1ba; margin: 14px 0 0; max-width: 34ch; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; color: #8695ae; font-size: .86rem; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .btn--nav-hide { display: none; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 46px 0; }
  .hero { padding: 52px 0 44px; }
}
