:root {
  --bg: #07090f;
  --panel: #10141c;
  --panel-2: #161b26;
  --text: #eef2f8;
  --muted: #8b95a8;
  --muted-2: #5f6b80;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #6ea8ff;
  --accent-2: #8b7dff;
  --success: #5fd38d;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(110, 168, 255, 0.14), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(139, 125, 255, 0.12), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(95, 211, 141, 0.08), transparent 30%),
    var(--bg);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}

.orb-1 {
  width: 320px;
  height: 320px;
  top: 8%;
  left: -4%;
  background: rgba(110, 168, 255, 0.22);
}

.orb-2 {
  width: 260px;
  height: 260px;
  top: 18%;
  right: 8%;
  background: rgba(139, 125, 255, 0.18);
  animation-delay: -4s;
}

.orb-3 {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: 35%;
  background: rgba(95, 211, 141, 0.12);
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -18px, 0) scale(1.04); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(14px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(110, 168, 255, 0.25), rgba(139, 125, 255, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d9e8ff;
}

.nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 168, 255, 0.25);
  background: rgba(110, 168, 255, 0.08);
  color: #cfe2ff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: fadeUp 0.7s ease both;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(95, 211, 141, 0.7);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  animation: fadeUp 0.8s ease 0.08s both;
}

.hero h1 span {
  background: linear-gradient(135deg, #ffffff 0%, #b8ccff 55%, #8b7dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 1.1rem 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  animation: fadeUp 0.8s ease 0.16s both;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  animation: fadeUp 0.8s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(110, 168, 255, 0.35);
  background: linear-gradient(180deg, rgba(110, 168, 255, 0.22), rgba(110, 168, 255, 0.12));
  color: #eef4ff;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(110, 168, 255, 0.18);
  border-color: rgba(110, 168, 255, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 360px;
  animation: fadeUp 0.9s ease 0.2s both;
}

.hero-card {
  position: relative;
  height: 100%;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: slowZoom 12s ease-in-out infinite alternate;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 15, 0.05), rgba(7, 9, 15, 0.72));
}

.hero-float {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 20, 28, 0.72);
  backdrop-filter: blur(12px);
}

.hero-float strong {
  font-size: 0.95rem;
}

.hero-float span {
  color: var(--muted);
  font-size: 0.84rem;
}

.section {
  padding: 1rem 0 4rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.filter {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.filter b {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted-2);
}

.filter:hover { color: var(--text); }

.filter.active {
  color: #d9e8ff;
  background: rgba(110, 168, 255, 0.12);
  border-color: rgba(110, 168, 255, 0.35);
}

.filter.active b { color: #cfe2ff; }

.tools-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.tool-card.hidden { display: none; }

.tool-art {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(110, 168, 255, 0.3), transparent 55%),
    linear-gradient(135deg, #1a2233, #131a27);
}

.tool-art span {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(207, 226, 255, 0.75);
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 168, 255, 0.28);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.tool-card.featured {
  grid-row: span 2;
  min-height: 100%;
}

.tool-media {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.tool-card.featured .tool-media {
  height: 260px;
}

.tool-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tool-card:hover .tool-media img {
  transform: scale(1.06);
}

.tool-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(16, 20, 28, 0.9));
}

.tool-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(7, 9, 15, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #d9e8ff;
}

.tool-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1rem 1.1rem;
}

.tool-body h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.tool-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #cfe2ff;
  font-size: 0.88rem;
  font-weight: 600;
}

.coming-soon {
  opacity: 0.72;
  pointer-events: none;
}

.coming-soon .tool-link { color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.stat {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  color: var(--muted-2);
  font-size: 0.84rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slowZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.1); }
}

@media (max-width: 960px) {
  .hero-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card.featured {
    grid-row: auto;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}
