@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Roboto+Mono:wght@400;500&display=swap");

:focus {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg: #0c0f14;
  --bg-secondary: #11151d;
  --card-bg: rgba(255, 255, 255, 0.04);
  --text: #f5f7fa;
  --muted: #a0a6b3;
  --accent: #4d7fff;
  --accent-light: #82a3ff;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif; */
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5rem;
  background: rgba(17,21,29,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}

/* ✅ Queste vanno fuori da a.logo */
.logo-img {
  width: 28px;
  height: auto;
}

.title-img {
  width: 70px;
  height: auto;
}

/* Menu links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 255, 0.25);
  background: rgba(15, 19, 28, 0.55);
  color: #fff;
  cursor: pointer;
}

/* 📱 Responsività per iPhone 7 e simili (<= 480px) */
@media (max-width: 480px) {
  nav {
    padding: 1rem 1.2rem;
  }
  .logo-img {
    width: 22px;
  }
  .title-img {
    width: 50px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
  }
    nav.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        background: rgba(17, 21, 29, 0.95);
        position: absolute;
        top: 110%;
        left: 5%;
        width: 90%;
        padding: 2rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}


/* Hamburger */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: #f5f7fa;
  display: none;
  padding: 6px;
}

.hamburger {
  width: 28px;
  height: 28px;
}

.line {
  transition: all 0.3s ease;
}

/* Animation for open state */
.nav-toggle.active .line1 {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.active .line2 {
  opacity: 0;
}
.nav-toggle.active .line3 {
  transform: translateY(-6px) rotate(-45deg);
}


.nav-toggle:hover {
  border-color: rgba(148, 163, 255, 0.5);
  background: rgba(15, 19, 28, 0.75);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span + span {
  margin-top: 5px;
}
nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.integrations {
  margin: 0 auto;
  padding: 1.5rem 2rem 3.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.integrations-label {
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.integrations-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0.02em;
}
.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.logo-item:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 127, 255, 0.3);
  box-shadow: 0 14px 35px rgba(77, 127, 255, 0.15);
}
.logo-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 9rem 2rem 7rem;
  background:
    linear-gradient(
      to bottom,
      rgba(12, 15, 20, 0) 0%,
      rgb(12, 15, 20) 70%,
      var(--bg) 100%
    ),
    radial-gradient(ellipse at top, rgba(77,127,255,0.18), transparent 70%);
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(130, 163, 255, 0.25), transparent 60%);
  filter: blur(160px);
  opacity: 0.7;
  z-index: -1;
  pointer-events: none;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero::before,
.hero::after {
  mix-blend-mode: screen;
}
.hero::before {
  background-size: 200% 200%;
}




.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1.2rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  line-height: 1.8;
}
button, .btn, .early-acc-btn {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 25px rgba(77,127,255,0.25);
}
button:hover, .btn:hover, .early-acc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(77,127,255,0.4);
  opacity: 0.95;
}


.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
h1, h2, h3 { line-height: 1.2; }
h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 0.6rem;
}
h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.6rem;
}
p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .integrations-logos {
    gap: 1rem;
  }
  .workflow-body {
    flex-direction: column;
    padding: 0 1.5rem 6rem;
    gap: 2.5rem;
  }
  .workflow-track {
    flex: none;
  }
  .track-inner {
    position: relative;
    top: 0;
    padding: 1.75rem 1.5rem;
    border-radius: calc(var(--radius) * 1.2);
  }
  .workflow-content {
    gap: 3.2rem;
  }

  .workflow-block{
    padding: 2rem 1rem !important;
  }

  .panel-header-actions {
    gap: 1rem;
    
  }
  .panel-header-actions .btn--icon span{
    display: none;
  }
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(77,127,255,0.3);
  box-shadow: 0 12px 40px rgba(77,127,255,0.15);
}

.mvp-showcase {
  padding-bottom: 8rem;
}
.mvp-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(160deg, rgba(77, 127, 255, 0.1), rgba(12, 15, 20, 0.6));
  border: 1px solid rgba(77, 127, 255, 0.3);
  border-radius: calc(var(--radius) * 1.4);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  text-align: center;
  backdrop-filter: blur(12px);
}
.mvp-frame--secondary {
  margin-top: 4rem;
  background: linear-gradient(180deg, rgba(11, 14, 20, 0.85), rgba(10, 22, 56, 0.7));
  border: 1px solid rgba(130, 163, 255, 0.25);
  box-shadow: 0 22px 60px rgba(10, 22, 56, 0.45);
}
.mvp-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}
.mvp-frame figure {
  margin: 0;
  border-radius: calc(var(--radius) * 1.2);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 55px rgba(77, 127, 255, 0.25);
}
.mvp-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.mvp-connector {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.connector-line {
  position: absolute;
  top: 0rem;
  height: 5rem;
  width: 3px;
  background: linear-gradient(180deg, rgba(130, 163, 255, 0.6), rgba(77, 127, 255, 0));
}

/* .workflow-page {
  background: linear-gradient(180deg, rgba(12, 15, 20, 0.92), rgba(7, 8, 12, 0.95));
} */
.workflow-hero {
  padding-bottom: 5rem;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: rgba(130, 163, 255, 0.8);
  margin-bottom: 1rem;
}
.hero-lead {
  max-width: 720px;
  margin: 0 auto;
}
.workflow-body {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 4rem) 8rem;
  display: flex;
  gap: clamp(2.4rem, 6vw, 5.5rem);
}
.workflow-track {
  position: relative;
  flex: 0 0 220px;
}
.track-inner {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.6rem;
  background: rgba(15, 20, 32, 0.72);
  border: 1px solid rgba(77, 127, 255, 0.22);
  border-radius: calc(var(--radius) * 1.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}
.track-inner h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: rgba(130, 163, 255, 0.8);
}
.track-inner ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}
.track-inner li a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.track-inner li a span {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(130, 163, 255, 0.8);
}
.track-inner li a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}
.workflow-content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}
.workflow-block {
  background: #ffffff17;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--radius) * 1.3);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
  padding: clamp(3rem, 5.5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.8rem);
  backdrop-filter: none;
  scroll-margin-top: 130px;
  color: #111827;
}
.block-header {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.block-step {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: white;
}
.block-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  margin: 0;
  color: white;
}
.block-header p {
  margin: 0;
  color: white;
  /* max-width: 620px; */
}
.block-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2.4rem, 5vw, 4rem);
  align-items: stretch;
}
.block-body--full {
  grid-template-columns: 1fr;
}
.block-copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  color: white;
}
.block-copy li {
  position: relative;
  padding-left: 1.6rem;
}
.block-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 12px rgba(77, 127, 255, 0.35);
}
.block-panel {
  display: flex;
  align-items: stretch;
}
.panel-card,
.panel-stack,
.panel-pr {
  width: 100%;
  background: rgba(17, 22, 32, 0.9);
  border: 1px solid rgba(77, 127, 255, 0.22);
  border-radius: calc(var(--radius) * 1.1);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.panel-card--manifest {
  gap: 1.75rem;
}
.panel-card--issue {
  gap: 1.55rem;
  background: linear-gradient(160deg, rgba(17, 24, 39, 0.95), rgba(13, 18, 32, 0.92));
  border: 1px solid rgba(56, 132, 255, 0.25);
  box-shadow: 0 25px 50px rgba(8, 12, 24, 0.55);
}
.panel-header--manifest {
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 1.5rem);
}
.panel-header--issue {
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
}
.panel-header-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.panel-header-actions {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.issue-chip-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.actions-caption {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
  margin-top: 0.2rem;
}
.manifest-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.manifest-meta li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 140px;
}
.manifest-meta .meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.68);
}
.manifest-meta strong {
  color: #f8fafc;
  font-size: 0.95rem;
}
.panel-title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.panel-title strong {
  color: #f9fafb;
  font-size: 1.05rem;
}
.panel-title p {
  margin: 0.2rem 0 0;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.9rem;
}
.panel-title--issue p {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(191, 210, 255, 0.85);
}
.panel-footer {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0px !important;
}
.panel-footer--between {
  justify-content: space-between;
  align-items: center;
  row-gap: 0.75rem;
}
.panel-footer--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.panel-footer--stack .btn {
  width: 100%;
  max-width: 280px;
}
.panel-body {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.panel-body--issue {
  gap: 1.5rem;
}
.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}
.panel-grid--manifest {
  gap: 1.6rem;
}
.panel-grid--issue {
  gap: 1.2rem;
}
.panel-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem 1.2rem;
  border-radius: calc(var(--radius) * 0.9);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(17, 24, 39, 0.7));
  border: 1px solid rgba(94, 129, 244, 0.15);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.08);
}
.panel-section label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(130, 163, 255, 0.8);
}
.panel-section p {
  margin: 0;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.7;
}
.panel-section--issue {
  background: linear-gradient(150deg, rgba(37, 99, 235, 0.2), rgba(15, 23, 42, 0.85));
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.12);
}
.panel-grid--issue > div {
  padding: 1rem 1.1rem;
  border-radius: calc(var(--radius) * 0.8);
  background: rgba(17, 24, 39, 0.65);
  border: 1px solid rgba(107, 169, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.09);
}
.panel-grid--issue label {
  margin-bottom: 0.4rem;
}
.panel-grid--issue p {
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
}
.panel-grid label,
.pr-metadata label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(130, 163, 255, 0.8);
  margin-bottom: 0.6rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.75);
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.85);
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 0 0 rgba(148, 163, 184, 0);
}
.status-pill--ready {
  color: white;
  background: #22c55e;
  border-color: rgba(34, 197, 94, 0.45);
  /* box-shadow: 0 0 18px rgba(34, 197, 94, 0.25); */
}
.status-pill--active {
  color: white;
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.3);
}
.panel-header-actions .btn {
  box-shadow: 0 12px 30px rgba(77, 127, 255, 0.35);
}
.btn--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
}
.btn-icon {
  width: 1rem;
  height: 1rem;
}
.start-task-btn {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}
.manifest-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  padding: 1.2rem;
  border-radius: calc(var(--radius) * 0.9);
  background: rgba(12, 18, 32, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.08);
}
.manifest-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.manifest-stat span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
}
.manifest-stat strong {
  font-size: 1rem;
  color: #f8fafc;
}
.manifest-stat p {
  margin: 0;
  color: rgba(203, 213, 225, 0.75);
  font-size: 0.85rem;
}
.chip--accent {
  color: #fff;
  background: linear-gradient(135deg, rgba(77, 127, 255, 0.55), rgba(130, 163, 255, 0.75));
  border-color: rgba(130, 163, 255, 0.75);
}
.chip--ghost {
  color: rgba(71, 85, 105, 0.85);
  background: rgba(241, 245, 249, 0.6);
  border-color: rgba(203, 213, 225, 0.5);
}
.panel-stack {
  gap: 1.2rem;
}
.panel-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.activity-entry {
  position: relative;
  /* padding-left: 1.8rem; */
  color: #4b5563;
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
}
.activity-entry strong {
  color: white;
}
.log-time {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(130, 163, 255, 0.75);
}
.log-time--review {
  color: rgba(251, 191, 36, 0.85);
}
.log-time--success {
  color: rgba(34, 197, 94, 0.85);
}
.activity-entry em {
  font-style: normal;
  color: rgba(34, 197, 94, 0.85);
}
.activity-entry--review p {
  color: rgba(251, 191, 36, 0.85);
}
.activity-entry--success p {
  color: rgba(34, 197, 94, 0.85);
}
.pr-metadata {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.status-pass {
  color: rgba(34, 197, 94, 0.85);
}
.workflow-content .workflow-cta {
  background: rgba(9, 13, 23, 0.85);
  border-radius: calc(var(--radius) * 1.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  padding: clamp(2.4rem, 4vw, 3rem);
}
.workflow-cta .btn {
  min-width: 220px;
}

.dag-section {
  text-align: center;
}
.dag-header {
  max-width: 700px;
  margin: 0 auto 3rem;
}
.dag-demo {
  position: relative;
  margin: 0 auto;
  width: 100%;
  background: radial-gradient(circle at top left, rgba(77, 127, 255, 0.18), transparent 65%), rgba(10, 13, 20, 0.9);
  border-radius: calc(var(--radius) * 1.4);
  border: 1px solid rgba(130, 163, 255, 0.25);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.dag-node {
  position: absolute;
  width: 240px;
  padding: 1.15rem 1.4rem;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.65);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  text-align: left;
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: #0f172a;
}
.dag-node h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.dag-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.9), rgba(203, 213, 225, 0.75));
  color: rgba(51, 65, 85, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.dag-status--pending {
  background: linear-gradient(135deg, rgba(209, 213, 219, 0.9), rgba(148, 163, 184, 0.7));
  border-color: rgba(148, 163, 184, 0.55);
}

/* ===============================
   DAG SECTION — optimized version
   =============================== */

.dag-section {
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-radius: 15px;
  isolation: isolate;
  /* Base background */
  background:
    linear-gradient(
      to bottom,
      rgba(12, 15, 20, 0) 0%,
      rgb(12, 15, 20) 70%,
      var(--bg) 100%
    ),
    radial-gradient(
      ellipse at top,
      rgba(77, 127, 255, 0.18),
      transparent 70%
    );
}

/* --- Glow layers --- */
.dag-section::before,
.dag-section::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  will-change: transform, opacity;
  transition: opacity 0.6s ease;
}

/* Primary glow (blue) */
.dag-section::before {
  background: radial-gradient(
    circle at 40% 40%,
    rgba(130, 163, 255, 0.28) 0%,
    rgba(130, 163, 255, 0.08) 55%,
    transparent 100%
  );
  opacity: 0.55;
}

/* Secondary glow (cyan) */
.dag-section::after {
  background: radial-gradient(
    circle at 65% 70%,
    rgba(85, 255, 255, 0.18) 0%,
    rgba(85, 255, 255, 0.05) 55%,
    transparent 100%
  );
  opacity: 0.45;
}

/* Light blending on modern browsers */
@supports not (-webkit-touch-callout: none) {
  .dag-section::before,
  .dag-section::after {
    mix-blend-mode: screen;
  }
}

/* Fallback for Safari (disable heavy blending + blur) */
@supports (-webkit-touch-callout: none) {
  .dag-section::before,
  .dag-section::after {
    mix-blend-mode: normal !important;
    filter: none !important;
  }
}

/* Optional subtle blur for modern browsers only */
@media (min-width: 800px) {
  @supports (backdrop-filter: blur(10px)) {
    .dag-section::before,
    .dag-section::after {
      filter: blur(60px);
    }
  }
}

/* Inner content layering */
.dag-section > * {
  position: relative;
  z-index: 1;
}

/* Optional subtle animation */
@keyframes dagPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}
.dag-section::before {
  animation: dagPulse 10s ease-in-out infinite;
}

.workflow-cta {
  text-align: center;
  padding-bottom: 7rem;
}
.workflow-cta p {
  max-width: 620px;
  margin: 0.8rem auto 2.5rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(130, 163, 255, 0.6);
  color: var(--accent-light);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(77, 127, 255, 0.12);
  box-shadow: 0 8px 25px rgba(77, 127, 255, 0.25);
}



.stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 3rem 0;
}
.stat {
  text-align: center;
}
.stat h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.stat p { color: var(--muted); }

footer {
  text-align: center;
  padding: 3rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4rem;
}

.highlight {
  color: var(--accent-light);
  font-weight: 600;
}

@media (max-width: 900px) {
    nav {
      padding: 1.25rem 2rem;
    }
    .nav-toggle {
      display: inline-flex;
    }
    .nav-links {
      position: absolute;
      right: 2rem;
      left: 2rem;
      top: calc(100% + 0.75rem);
      background: rgba(11, 15, 24, 0.92);
      border: 1px solid rgba(148, 163, 255, 0.15);
      border-radius: 16px;
      padding: 2.25rem 1.5rem;
      flex-direction: column;
      gap: 2rem;
      align-items: flex-start;
      box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
      opacity: 0;
      transform: translateY(-10px);
      pointer-events: none;
      transition: opacity 0.25s ease, transform 0.25s ease;
    }
    nav.nav-open .nav-links {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
  .nav-links a,
  .nav-links .early-acc-btn {
    width: 100%;
    text-align: left;
  }
  .nav-links .early-acc-btn {
    text-align: left;
    padding: 0.85rem 1.1rem;
  }
  body.nav-open {
    overflow: hidden;
  }

  .block-body{
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* === Premium + Emotional Overhaul === */

:root {
  --bg: #05060a;
  --bg-secondary: #0b0e14;
  --card-bg: rgba(255, 255, 255, 0.03);
  --text: #f5f7fa;
  --muted: #a0a6b3;
  --accent: #4d7fff;
  --accent-light: #7ca9ff;
  --radius: 14px;
  --shadow: 0 12px 50px rgba(0, 0, 0, 0.55);
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 11rem 2rem 8rem;
  background: radial-gradient(circle at 50% 30%, rgba(90,140,255,0.18), transparent 60%),
              linear-gradient(to bottom, rgba(15,20,35,0.6), var(--bg));
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 180deg,
    rgba(77,127,255,0.2),
    rgba(90,255,255,0.15),
    rgba(255,255,255,0.08),
    rgba(77,127,255,0.25)
  );
  animation: rotate 28s linear infinite;
  filter: blur(180px);
  z-index: -1;
  opacity: 0.9;
}

.hero .subtitle {
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}


.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  background: linear-gradient(90deg, #82a3ff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  margin-bottom: 1.6rem;
  text-shadow: 0 0 30px rgba(77,127,255,0.25);
}

.hero p {
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  font-size: 1.25rem;
  line-height: 1.8;
  opacity: 0.95;
}

/* button, .btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  color: #fff;
  padding: 1.05rem 2.2rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 25px rgba(77,127,255,0.25);
}

button::after, .btn::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.25), transparent 70%);
  transition: left 0.5s ease;
} */

button:hover::after, .btn:hover::after { left: 100%; }
button:hover, .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(77,127,255,0.35);
}

/* === Cards refinement === */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(77,127,255,0.25);
}

/* === Typography polish === */
h2 {
  font-size: 2.3rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

/* === Premium Glow Divider === */
h2::after {
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 12px rgba(77,127,255,0.35);
}

/* === Join the Revolution Section === */

.join {
  border-radius: 20px;
  text-align: center;
  padding: 8rem 2rem 9rem;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(77,127,255,0.15), transparent 60%),
              linear-gradient(180deg, rgba(10,12,18,0.95), var(--bg));
  overflow: hidden;
}

.join::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 180deg,
    rgba(77,127,255,0.25),
    rgba(255,255,255,0.05),
    rgba(77,127,255,0.15),
    rgba(77,127,255,0.25)
  );
  filter: blur(200px);
  z-index: 0;
  opacity: 0.6;
}

.join-container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.join h2 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(90deg, var(--accent-light), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.join p {
  color: var(--muted);
  font-size: 1.2rem;
  margin-bottom: 2.8rem;
  line-height: 1.8;
}

.join-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.join-form input {
  width: 100%;
  max-width: 420px;
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}
.join-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}

.join-form button {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
  padding: 1rem 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(77,127,255,0.25);
}
.join-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(77,127,255,0.4);
}

.join .small-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2rem;
  opacity: 0.8;
}


.dag-section {
  display: flex;
  justify-content: center;
  /* padding: 4rem 0; */
  /* border-radius: 15px;
  background: radial-gradient(circle at top, rgba(77,127,255,0.08), transparent 70%); */
} 

.graph-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 1.5rem;
}

.graph-container {
  position: relative;
  width: 480px;
  height: 820px;
}

.graph-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.graph-connector {
  fill: none;
  stroke: rgba(96, 165, 255, 0.35);
  stroke-width: 2;
}

.graph-anchor {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 14px rgba(8, 47, 73, 0.25);
  border: 2px solid rgba(96, 165, 255, 0.35);
  background: linear-gradient(135deg, rgba(59,130,246,0.85), rgba(37,99,235,0.85));
  z-index: 1;
}

.graph-anchor.sink {
  background: linear-gradient(135deg, rgba(16,185,129,0.85), rgba(5,150,105,0.85));
  border-color: rgba(16,185,129,0.4);
}

.graph-node {
  position: absolute;
  width: 220px;
  background: #282d36;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}

.graph-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(77,127,255,0.25);
}

.node-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

.node-header h4 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
}

.node-status {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(77,127,255,0.12);
  border: 1px solid rgba(77,127,255,0.25);
  color: rgba(37,99,235,0.85);
  font-weight: 600;
}


.dag-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(
      to bottom,
      rgba(12, 15, 20, 0) 0%,
      rgb(12, 15, 20) 70%,
      var(--bg) 100%
    ),
    radial-gradient(ellipse at top, rgba(77,127,255,0.18), transparent 70%);
  isolation: isolate;
}

.dag-section::before {
  content: "";
  position: absolute;
  inset: -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(130, 163, 255, 0.28), transparent 60%);
  filter: blur(150px);
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
} 

 .dag-section::after {
  content: "";
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle at 65% 70%, rgba(85, 255, 255, 0.2), transparent 60%);
  filter: blur(150px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.dag-section > * {
  position: relative;
  z-index: 1;
}

.dag-section::before,
.dag-section::after {
  mix-blend-mode: screen;
} 


.node-status {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.92), rgba(203, 213, 225, 0.75));
  color: rgba(51, 65, 85, 0.9);
  font-weight: 600;
}

.node-status.done {
  background: #22c55e;
  border-color: rgba(16, 185, 129, 0.35);
  color: white;
}

.node-status.in-progress {
  background: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.4);
  color: white;
}


.pull-request {
  width: 100%;
  background: rgba(17, 22, 32, 0.92);
  border: 1px solid rgba(77,127,255,0.22);
  border-radius: calc(var(--radius) * 1.1);
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: "Roboto Mono", monospace;
}

.pr-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 1rem;
}

.pr-meta strong {
  color: #fff;
  font-size: 1.05rem;
}

.pr-meta p {
  color: rgba(226,232,240,0.7);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.pr-status {
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  background: #22c55e;
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pr-commits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 0.2rem;
}

.commit {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.commit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.commit-dot.done { background: rgba(34,197,94,1); box-shadow: 0 0 8px rgba(34,197,94,0.6); }
.commit-dot.in-progress { background: rgba(77,127,255,1); }
.commit-dot.review { background: rgba(251,191,36,1); }
.commit-dot.pending { background: rgba(148,163,184,0.6); }

.commit-body {
  color: #e2e8f0;
  font-size: 0.95rem;
}

.commit-body strong {
  color: #93c5fd;
}

.commit-meta {
  font-size: 0.8rem;
  color: rgba(203,213,225,0.75);
}

.commit-meta span {
  color: #34d399;
}

.pr-diff {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  overflow-x: auto;
}

.diff-header {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(130,163,255,0.85);
  margin-bottom: 0.6rem;
}

.diff-block {
  text-align: left;
  font-family: "Roboto Mono", monospace;
  line-height: 1.5;
}

.diff-line.added { color: #22c55e; }
.diff-line.removed { color: #ef4444; text-decoration: line-through; }
.diff-line.context { color: rgba(255,255,255,0.75); }

.pr-footer {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 1rem;
  padding: 0;
  padding-top: 1rem;
}




/* ==================================
   HERO SECTION — optimized version
   ================================== */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 9rem 2rem 7rem;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(77, 127, 255, 0.2) 0%,
      transparent 70%
    ),
    linear-gradient(
      to bottom,
      rgba(12, 15, 20, 0) 0%,
      rgb(12, 15, 20) 70%,
      var(--bg) 100%
    );
}

@media (max-width: 640px) {
  .hero::before,
  .hero::after {
    inset: -30%;
  }
}

/* --- Hero glow layers --- */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  will-change: transform, opacity;
  transition: opacity 0.6s ease;
}

/* Primary glow (cool blue) */
.hero::before {
  background: radial-gradient(
    circle at 35% 35%,
    rgba(130, 163, 255, 0.25) 0%,
    rgba(130, 163, 255, 0.08) 60%,
    transparent 100%
  );
  opacity: 0.6;
}

/* Secondary glow (cyan / teal) */
.hero::after {
  background: radial-gradient(
    circle at 70% 65%,
    rgba(85, 255, 255, 0.18) 0%,
    rgba(85, 255, 255, 0.06) 60%,
    transparent 100%
  );
  opacity: 0.45;
}

/* Blend only on capable browsers */
@supports not (-webkit-touch-callout: none) {
  .hero::before,
  .hero::after {
    mix-blend-mode: screen;
  }
}

/* Safari fallback — no heavy blend or blur */
@supports (-webkit-touch-callout: none) {
  .hero::before,
  .hero::after {
    mix-blend-mode: normal !important;
    filter: none !important;
  }
}

/* Add soft blur only on modern browsers */
@media (min-width: 800px) {
  @supports (backdrop-filter: blur(10px)) {
    .hero::before,
    .hero::after {
      filter: blur(60px);
    }
  }
}

/* Inner content layer */
.hero > * {
  position: relative;
  z-index: 1;
}

/* Optional subtle movement animation */
@keyframes heroDrift {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50%  { transform: translate(10px, -15px) scale(1.05); opacity: 0.7; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
}
.hero::before {
  animation: heroDrift 16s ease-in-out infinite;
}
.hero::after {
  animation: heroDrift 22s ease-in-out infinite reverse;
}
