:root {
  --bg: #05132e;
  --bg-deep: #030c1d;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(146, 183, 255, 0.18);
  --border-strong: rgba(146, 183, 255, 0.34);
  --primary: #2f6bff;
  --primary-dark: #1e4fd8;
  --primary-light: #6aa4ff;
  --cyan: #56d6ff;
  --text: #eef4ff;
  --muted: #9fb4d6;
  --muted-soft: #7f96bd;
  --radius-pill: 999px;
  --shadow-lg: 0 34px 70px -30px rgba(1, 7, 20, 0.85);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 620px at 82% -8%, rgba(47, 107, 255, 0.34), transparent 62%),
    radial-gradient(760px 540px at -6% 20%, rgba(86, 214, 255, 0.12), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(30, 79, 216, 0.16), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, #041026 58%, var(--bg-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: rgba(86, 214, 255, 0.32);
  color: #fff;
}

:focus-visible {
  outline: 2px solid #8dbcff;
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #061a3a;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 19, 46, 0.7);
  border-bottom: 1px solid rgba(146, 183, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 14, 34, 0.88);
  border-bottom-color: rgba(146, 183, 255, 0.18);
  box-shadow: 0 12px 32px -20px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-name span {
  color: var(--primary-light);
}

.brand--small {
  font-size: 1.08rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: #c2d4ef;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 84px) 0 clamp(72px, 9vw, 118px);
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.32), transparent 72%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 15px;
  border: 1px solid rgba(106, 164, 255, 0.26);
  border-radius: var(--radius-pill);
  background: rgba(47, 107, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8c6f2;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(86, 214, 255, 0.16);
}

.hero h1 {
  font-size: clamp(2.5rem, 4.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.038em;
  max-width: 17ch;
}

.grad {
  background: linear-gradient(100deg, #9cc3ff 0%, #56d6ff 52%, #7ea8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 54ch;
  margin-top: 24px;
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.22s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3f7bff 0%, #2f6bff 45%, #1d4fd6 100%);
  box-shadow:
    0 18px 34px -16px rgba(47, 107, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 44px -18px rgba(47, 107, 255, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  color: #dbe8ff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(146, 183, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(146, 183, 255, 0.42);
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 32px;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #a9bfdf;
}

.hero-badges svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  stroke-width: 2.2;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 468px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -14% -4%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.52), transparent 72%);
  filter: blur(18px);
}

.hero-stage {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  border-radius: 40px;
  background:
    radial-gradient(120% 78% at 50% 0%, #ffffff 0%, #f2f8ff 40%, #dcebff 72%, #c3dbff 100%);
  box-shadow:
    0 42px 80px -34px rgba(1, 7, 20, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 55% at 50% -10%, rgba(255, 255, 255, 0.75), transparent 55%);
  pointer-events: none;
}

.hero-stage img {
  width: 100%;
  mix-blend-mode: multiply;
  filter: saturate(1.03) contrast(1.01);
  transform: translateY(1.2%);
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(146, 183, 255, 0.26);
  border-radius: 16px;
  background: rgba(7, 22, 51, 0.82);
  box-shadow: 0 20px 38px -22px rgba(1, 7, 20, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.84rem;
  font-weight: 600;
  color: #eaf2ff;
  white-space: nowrap;
}

.float-card--1 {
  top: 11%;
  right: -4%;
}

.float-card--2 {
  bottom: 13%;
  left: -5%;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #cfe6ff;
  background: linear-gradient(145deg, rgba(47, 107, 255, 0.55), rgba(30, 79, 216, 0.4));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

  .float-icon svg {
    width: 16px;
    height: 16px;
  }

/* ----------------------------------------------------------------- tools */

.tools-section {
  position: relative;
  padding: clamp(32px, 6vw, 72px) 0 clamp(72px, 9vw, 112px);
  scroll-margin-top: 90px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

.section-note {
  max-width: 36ch;
  padding-bottom: 6px;
  font-size: 0.93rem;
  color: var(--muted-soft);
}

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

.tool-pill {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  min-height: 78px;
  padding: 10px 22px 10px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.tool-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(106, 164, 255, 0.55);
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.2), rgba(86, 214, 255, 0.06));
  box-shadow: 0 22px 42px -24px rgba(47, 107, 255, 0.85);
}

.tool-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #4d86ff 0%, #2f6bff 52%, #1a45bb 100%);
  box-shadow:
    0 12px 22px -12px rgba(47, 107, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.tool-icon svg {
  width: 25px;
  height: 25px;
}

.tool-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tool-name {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.99rem;
  font-weight: 600;
  color: #f4f8ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-desc {
  overflow: hidden;
  font-size: 0.8rem;
  color: var(--muted-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: 50%;
  color: #a9c6ef;
  background: rgba(255, 255, 255, 0.06);
  transition: color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.tool-arrow svg {
  width: 15px;
  height: 15px;
}

.tool-pill:hover .tool-arrow {
  color: #fff;
  background: rgba(47, 107, 255, 0.6);
  transform: translateX(2px);
}

.tools-empty {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 62px) clamp(24px, 4vw, 48px);
  border: 1px dashed rgba(146, 183, 255, 0.28);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(13, 36, 77, 0.62), rgba(7, 22, 51, 0.34));
  text-align: center;
}

.tools-empty::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  width: 420px;
  height: 280px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.28), transparent 72%);
  pointer-events: none;
}

.empty-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border: 1px solid rgba(146, 183, 255, 0.3);
  border-radius: 50%;
  color: #b9d6ff;
  background: linear-gradient(145deg, rgba(47, 107, 255, 0.26), rgba(30, 79, 216, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.empty-icon svg {
  width: 30px;
  height: 30px;
}

.tools-empty h3 {
  position: relative;
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  margin-bottom: 12px;
}

.tools-empty p {
  position: relative;
  max-width: 48ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.96rem;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #8dbcff;
  transition: color 0.2s ease, gap 0.2s ease;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.text-link:hover {
  gap: 10px;
  color: #b3d4ff;
}

/* ----------------------------------------------------------------- about */

.about {
  padding: 0 0 clamp(72px, 9vw, 112px);
  scroll-margin-top: 90px;
}

.about-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  overflow: hidden;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid var(--border);
  border-radius: 36px;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(86, 214, 255, 0.1), transparent 65%),
    linear-gradient(135deg, rgba(47, 107, 255, 0.14), rgba(8, 27, 63, 0.62) 55%, rgba(7, 22, 51, 0.5));
  box-shadow: var(--shadow-lg);
}

.about-panel::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.24), transparent 70%);
  pointer-events: none;
}

.about-copy {
  position: relative;
}

.about-copy .eyebrow {
  margin-bottom: 18px;
}

.about-copy h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.6rem);
  margin-bottom: 20px;
}

.about-copy p {
  max-width: 52ch;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.72;
}

.signature {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: #eaf2ff;
}

.signature span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted-soft);
}

.feature-list {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(146, 183, 255, 0.16);
  border-radius: 20px;
  background: rgba(7, 22, 51, 0.46);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(146, 183, 255, 0.32);
  background: rgba(9, 27, 61, 0.62);
}

.feature-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #cfe4ff;
  background: linear-gradient(145deg, rgba(47, 107, 255, 0.42), rgba(30, 79, 216, 0.22));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted-soft);
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  position: relative;
  border-top: 1px solid rgba(146, 183, 255, 0.12);
  background: rgba(3, 12, 29, 0.42);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-top: 42px;
  padding-bottom: 30px;
}

.footer-brand p {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--muted-soft);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 8px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: #b1c6e5;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(146, 183, 255, 0.08);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #7288ad;
}

/* --------------------------------------------------------------- 404 page */

.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 48px 0;
  text-align: center;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(120deg, #9cc3ff, #56d6ff 55%, #4c78ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h1 {
  margin-top: 12px;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.error-page p {
  max-width: 42ch;
  margin: 14px auto 30px;
  color: var(--muted);
}

.error-brand {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
}

/* -------------------------------------------------------------- animation */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .hero-visual {
    width: min(100%, 430px);
  }

  .float-card--1 {
    right: 0;
  }

  .float-card--2 {
    left: 0;
  }

  .about-panel {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .section-note {
    padding-bottom: 0;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature {
    flex-direction: row;
    gap: 14px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 36px, 1180px);
  }

  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .nav {
    gap: 2px;
  }

  .nav a {
    padding: 8px 11px;
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 40px;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    width: min(100%, 350px);
  }

  .float-card {
    font-size: 0.76rem;
    padding: 8px 13px 8px 8px;
  }

  .float-icon {
    width: 26px;
    height: 26px;
  }

  .float-card--1 {
    top: 8%;
    right: -2%;
  }

  .float-card--2 {
    bottom: 8%;
    left: -2%;
  }

  .hero-stage {
    border-radius: 30px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .about-panel {
    border-radius: 26px;
  }
}

@media (max-width: 380px) {
  .float-card {
    display: none;
  }

  .brand-name {
    font-size: 1rem;
  }

  .nav a {
    padding: 8px 9px;
    font-size: 0.8rem;
  }
}
