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

:root {
  --bg: #f9fafb;
  --surface: #ffffff;
  --text: #0d1117;
  --text-muted: #6b7280;
  --accent: #f28c28;
  --accent-dim: rgba(242, 140, 40, 0.10);
  --accent-border: rgba(242, 140, 40, 0.22);
  --border: rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.13);
  --font: 'Outfit', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ambient gradient blobs — fixed, pointer-events-none so no GPU repaint on scroll */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 110% -5%, rgba(242, 140, 40, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at -8% 75%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(249, 250, 251, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { height: 26px; width: auto; }

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--text);
  color: #fff;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.18s var(--ease-out);
}
.nav-cta:hover { background: #1c2432; }
.nav-cta:active { transform: scale(0.97); }


/* ─── HERO ────────────────────────────────── */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 40px;
  gap: 64px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px 5px 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #c46910;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fade-up 0.8s var(--ease-out) 0.1s both;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.65); }
}

.hero-headline {
  font-size: clamp(3rem, 4.8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 26px;
  animation: fade-up 0.8s var(--ease-out) 0.2s both;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 44px;
  animation: fade-up 0.8s var(--ease-out) 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  animation: fade-up 0.8s var(--ease-out) 0.4s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--text);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease-out), box-shadow 0.2s;
  will-change: transform;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 17, 23, 0.22);
}
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s;
}
.btn-ghost:hover { color: var(--text); }


/* ─── HERO PANEL (right) ──────────────────── */

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-up 0.9s var(--ease-out) 0.3s both;
}

.preview-panel {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  padding: 26px;
  /* Liquid-glass refraction: inner border + shadow */
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.panel-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.panel-icon svg { width: 13px; height: 13px; color: var(--accent); }

.panel-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #16a34a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

.panel-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.metric {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
}

.metric-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 3px;
}

.metric-value {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}
.metric-value.ok   { color: #16a34a; }
.metric-value.warn { color: var(--accent); }

.panel-progress-block { margin-bottom: 16px; }

.progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.progress-track {
  height: 5px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 1.8s var(--ease-out);
}

.panel-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--text-muted);
}

.check-icon { width: 15px; height: 15px; flex-shrink: 0; }
.check-icon.done    { color: #22c55e; }
.check-icon.pending { color: var(--border-strong); }
.check-icon.spin    { color: var(--accent); }

.check-row.active {
  background: linear-gradient(90deg, var(--text-muted) 25%, var(--text) 50%, var(--text-muted) 75%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.2s linear infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}


/* ─── STATS BAND ──────────────────────────── */

.stats-band {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stats-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 0 36px;
  border-right: 1px solid var(--border);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { border-right: none; }

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}


/* ─── TOOLS SECTION ───────────────────────── */

.section {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 40px 112px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-aside {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 260px;
  text-align: right;
  line-height: 1.75;
}

/* Asymmetric 2fr 1fr — NOT 3 equal columns */
.tools-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}

/* ── Tool Card ── */
.tool-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.3s;
}

.tool-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.11);
  border-color: rgba(0, 0, 0, 0.11);
}

.tool-card:active {
  transform: translateY(-2px) scale(0.997);
}

.tool-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #edf0f5;
}

.tool-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out);
}

.tool-card:hover .tool-media img {
  transform: scale(1.05);
}

/* Subtle tinted overlay — no neon glows */
.tool-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 17, 23, 0.04) 100%);
  pointer-events: none;
}

.tool-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 13px;
}

.tool-tag::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}

.tool-name {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 11px;
}

.tool-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 65ch;
  flex: 1;
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.tool-meta {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--mono);
}

.tool-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.3s var(--ease-out);
}

.tool-arrow svg {
  width: 15px;
  height: 15px;
  transition: color 0.25s;
}

.tool-card:hover .tool-arrow {
  background: var(--text);
  border-color: var(--text);
  transform: rotate(45deg);
}

.tool-card:hover .tool-arrow svg { color: #fff; }

/* ── Coming Soon Card ── */
.coming-card {
  background: linear-gradient(145deg, #0d1117 0%, #1a2333 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

/* Subtle warm-glow at top-right, no neon */
.coming-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 110% -10%, rgba(242, 140, 40, 0.13) 0%, transparent 55%);
  pointer-events: none;
}

/* Subtle grid texture */
.coming-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px);
  pointer-events: none;
}

.coming-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px 4px 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.coming-title {
  position: relative;
  z-index: 1;
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.coming-sub {
  position: relative;
  z-index: 1;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}


/* ─── FOOTER ──────────────────────────────── */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo { height: 22px; width: auto; }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ─── REVEAL ANIMATIONS ───────────────────── */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.28s; }
.reveal-d4 { transition-delay: 0.38s; }


/* ─── RESPONSIVE ──────────────────────────── */

@media (max-width: 1024px) {
  .hero { gap: 48px; }
  .stats-inner { padding: 28px 32px; }
  .section { padding: 72px 32px 88px; }
  .nav-inner { padding: 0 32px; }
  .footer-inner { padding: 32px; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 72px 24px 60px;
    gap: 0;
  }

  .hero-right { display: none; }

  .hero-sub { max-width: 100%; }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    padding: 28px 24px;
    gap: 28px 0;
  }

  .stat-item {
    border-right: none;
    padding-left: 0;
    padding-right: 0;
  }

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

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .section-aside { text-align: left; max-width: 100%; }

  .section { padding: 64px 24px 80px; }
  .nav-inner { padding: 0 24px; }
  .nav-logo { height: 22px; }
  .nav-right { gap: 18px; }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.8rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .nav-logo { height: 19px; }
  .nav-right { gap: 12px; }
  .nav-cta { padding: 7px 13px; font-size: 0.82rem; }
  .nav-link { font-size: 0.82rem; }
}
