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

:root {
  --navy: #0B132B;
  --blue: #1E6FFF;
  --light: #68A8FF;
  --pale: #D9E8FF;
  --off: #F2F4F8;
  --line: #dce3ee;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--navy);
  font-family: Inter, system-ui, sans-serif;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
.site-header {
  height: 76px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  z-index: 5;
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.brand b span { color: var(--blue); }
.layers { width: 34px; height: 34px; position: relative; display: inline-block; }
.layers i {
  position: absolute;
  width: 27px;
  height: 19px;
  left: 3px;
  transform: rotate(30deg) skewX(-30deg);
  border-radius: 4px;
  background: var(--navy);
}
.layers i:nth-child(2) { top: 7px; background: var(--blue); opacity: 0.9; }
.layers i:nth-child(3) { top: 0; background: var(--light); opacity: 0.55; }
.site-header nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
.site-header form { margin: 0; }
.link { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.button {
  display: inline-flex;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff !important;
  padding: 13px 20px;
  font-weight: 700;
  cursor: pointer;
}
.button.small { padding: 10px 15px; }
.button.ghost { background: #fff; color: var(--navy) !important; border: 1px solid var(--line); }
.hero {
  min-height: 620px;
  padding: 9vw 8vw;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  background: linear-gradient(135deg, #fff 55%, var(--off));
}
.hero h1, .page-hero h1, .app-shell h1, .auth h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 18px 0;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p, .page-hero p, .app-shell > p {
  font-size: 19px;
  line-height: 1.65;
  max-width: 650px;
  color: #526078;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 800; color: var(--blue); }
.actions { display: flex; gap: 12px; margin: 30px 0; }
.fine { font-size: 12px !important; color: #6d7890 !important; }
.hero-art { display: grid; place-items: center; }
.layers.large { transform: scale(6); }
.section, .app-shell { padding: 90px 8vw; }
.section h2 { font-size: 44px; letter-spacing: -0.04em; }
.cards, .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 35px; }
.cards article, .stats article, .upload-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(11, 19, 43, 0.04);
}
.cards article b { color: var(--blue); }
.cards p { color: #637089; line-height: 1.6; }
.page-hero { padding: 120px 8vw; min-height: 500px; background: linear-gradient(140deg, #fff, var(--off)); }
.app-shell { min-height: 650px; background: var(--off); }
.app-shell h1 { font-size: 52px; }
.stats article { display: flex; flex-direction: column; gap: 8px; }
.stats b { font-size: 36px; color: var(--blue); }
.upload-box { max-width: 760px; margin: 30px 0; }
.upload-box input { display: block; margin: 18px 0; }
.auth { min-height: 700px; display: grid; place-items: center; background: var(--off); padding: 50px; }
.auth form { width: min(460px, 100%); padding: 36px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.auth h1 { font-size: 38px; }
.auth label { display: block; font-weight: 600; margin: 15px 0; }
.auth input { display: block; width: 100%; padding: 13px; margin-top: 7px; border: 1px solid var(--line); border-radius: 9px; font: inherit; }
.error { color: #b42318; background: #fef3f2; padding: 10px; border-radius: 8px; }
.account-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.account-plan div { padding: 14px; border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; gap: 5px; }
.account-plan span { color: #637089; font-size: 12px; }
.access-badge { align-self: flex-start; display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--pale); color: var(--blue); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.access-premium { background: #efe8ff; color: #6941c6; }
.access-admin { background: #fee4e2; color: #b42318; }
.tool-access-grid > a, .tool-access-grid > article { display: flex; flex-direction: column; gap: 10px; }
.locked-tool { opacity: .7; border: 1px dashed #aab4c5; border-radius: 16px; padding: 25px; background: #fff; }
footer { padding: 50px 8vw; background: var(--navy); color: #fff; }
footer p { color: #b8c3d8; }
@media (max-width: 900px) {
  .site-header nav a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .site-header { padding: 0 20px; }
  .section, .app-shell, .page-hero { padding: 60px 22px; }
}
