.vp-navbar .vp-nav-logo {
  width: 2.2rem;
  height: 1.58rem;
  object-fit: contain;
}

.vp-navbar .vp-nav-links {
  flex: 1;
}

.vp-navbar .vp-nav-links > .vp-nav-item:last-child {
  margin-left: auto;
  padding: 5px;
  border: 1px solid rgba(130, 145, 170, .24);
  border-radius: 999px;
  background: rgba(241, 245, 249, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 6px 18px rgba(31, 55, 88, .08);
}

.vp-navbar .vp-nav-links > .vp-nav-item:last-child > .vp-nav-link {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #10c7df 0%, #2f7bf4 52%, #5b43e8 100%);
  box-shadow: 0 8px 22px rgba(47, 123, 244, .28);
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.vp-navbar .vp-nav-links > .vp-nav-item:last-child > .vp-nav-link:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 12px 28px rgba(47, 123, 244, .36);
}

[data-theme="dark"] .vp-navbar .vp-nav-links > .vp-nav-item:last-child {
  border-color: rgba(148, 163, 184, .18);
  background: rgba(30, 41, 59, .74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 8px 20px rgba(0, 0, 0, .22);
}

.vp-project-home {
  max-width: none;
  padding-top: var(--navbar-height);
  overflow-x: hidden;
}

.vp-project-home > .vp-hero-info-wrapper {
  display: none;
}

.vp-project-home [vp-content] {
  max-width: none;
  padding: 0;
}

.vp-project-home #markdown-content {
  max-width: none;
  margin: 0;
  padding: 0;
}

.pulu-home-page {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(49, 220, 242, .16), transparent 32%),
    radial-gradient(circle at 82% 28%, rgba(82, 69, 230, .14), transparent 34%),
    linear-gradient(180deg, var(--vp-c-bg) 0%, var(--vp-c-bg-alt) 100%);
}

.pulu-hero {
  position: relative;
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px 72px;
}

.pulu-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pulu-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(60, 60, 67, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 60, 67, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

.pulu-hero-content {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pulu-logo-container {
  width: 190px;
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.pulu-hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(38, 134, 241, .28));
}

.pulu-hero-title {
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 7.8rem);
  line-height: .95;
  font-weight: 800;
  letter-spacing: 0;
}

.pulu-hero-title span {
  background: linear-gradient(135deg, #25dbe9 0%, #2d7cf0 45%, #5042df 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pulu-hero-tagline {
  margin: 18px 0 0;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--vp-c-text);
  font-weight: 600;
}

.pulu-hero-description {
  margin: 18px 0 0;
  color: var(--vp-c-text-mute);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.85;
}

.pulu-hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.pulu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pulu-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.pulu-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #27d4eb, #2b7cf0 52%, #5142df);
  box-shadow: 0 12px 28px rgba(38, 134, 241, .28);
}

.pulu-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 42px;
  padding: 18px 28px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 18px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 12px 42px rgba(31, 80, 160, .12);
  backdrop-filter: blur(22px) saturate(160%);
}

[data-theme="dark"] .pulu-hero-stats {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(32, 33, 39, .72);
}

.pulu-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.pulu-stat-number {
  color: #2686f1;
  font-size: 1.85rem;
  line-height: 1.1;
  font-weight: 800;
}

.pulu-stat-label {
  margin-top: 4px;
  color: var(--vp-c-text-mute);
  font-size: .9rem;
}

.pulu-divider {
  width: 1px;
  height: 42px;
  background: var(--vp-c-divider);
}

.pulu-section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
}

.pulu-section-header {
  text-align: center;
  margin-bottom: 36px;
}

.pulu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  color: #2478d9;
  background: rgba(39, 212, 235, .12);
  border: 1px solid rgba(39, 212, 235, .25);
  font-size: .78rem;
  font-weight: 700;
}

.pulu-section-title {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.pulu-section-subtitle {
  margin: 12px 0 0;
  color: var(--vp-c-text-mute);
  font-size: 1.08rem;
}

.pulu-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pulu-feature-card,
.pulu-integration-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 16px;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 8px 28px rgba(31, 80, 160, .1);
  backdrop-filter: blur(20px) saturate(160%);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

[data-theme="dark"] .pulu-feature-card,
[data-theme="dark"] .pulu-integration-card {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(32, 33, 39, .72);
}

.pulu-feature-card:hover,
.pulu-integration-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 212, 235, .4);
  box-shadow: 0 14px 38px rgba(38, 134, 241, .16);
}

.pulu-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(39, 212, 235, .18), rgba(81, 66, 223, .16));
  font-size: 1.55rem;
}

.pulu-feature-card h3,
.pulu-integration-card h3 {
  margin: 18px 0 8px;
  font-size: 1.18rem;
}

.pulu-feature-card p,
.pulu-integration-card p {
  margin: 0;
  color: var(--vp-c-text-mute);
  line-height: 1.75;
}

.pulu-integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pulu-integration-icon {
  font-size: 2rem;
  line-height: 1;
}

.vp-code-tabs {
  overflow: hidden;
  margin: 20px 0 30px;
  border: 1px solid rgba(130, 145, 170, .28);
  border-radius: 10px;
  background: color-mix(in srgb, var(--vp-c-bg) 92%, #f6f8fb);
  box-shadow: 0 10px 30px rgba(31, 55, 88, .08);
}

.vp-code-tabs-nav {
  display: flex;
  gap: 4px;
  padding: 6px 8px 0;
  background: linear-gradient(180deg, rgba(241, 244, 249, .96), rgba(232, 235, 242, .96));
  border-bottom: 1px solid rgba(130, 145, 170, .22);
}

.vp-code-tab-nav {
  min-width: 104px;
  padding: 11px 18px 12px;
  border: 0;
  border-radius: 8px 8px 0 0;
  color: var(--vp-c-text);
  background: transparent;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.vp-code-tab-nav:hover {
  color: #2563eb;
  background: rgba(255, 255, 255, .45);
}

.vp-code-tab-nav.active {
  color: #111827;
  background: var(--vp-c-bg);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .9) inset, 0 8px 20px rgba(31, 55, 88, .08);
}

.vp-code-tab {
  display: none;
  padding: 22px 14px 16px;
}

.vp-code-tab.active {
  display: block;
}

.vp-code-tab-title {
  display: none;
}

.vp-code-tab div[class*="language-"] {
  margin: 0;
  border: 1px solid rgba(59, 130, 246, .14);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(239, 248, 255, .96), rgba(231, 243, 253, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .74);
}

.vp-code-tab div[class*="language-"] pre {
  padding: 18px 20px;
}

.vp-code-tab div[class*="language-"]::before {
  opacity: .72;
  font-weight: 600;
}

[data-theme="dark"] .vp-code-tab div[class*="language-"] {
  background: linear-gradient(180deg, rgba(21, 31, 44, .96), rgba(17, 24, 39, .96));
  border-color: rgba(96, 165, 250, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

[data-theme="dark"] .vp-code-tabs {
  border-color: rgba(148, 163, 184, .18);
  background: rgba(20, 25, 34, .86);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}

[data-theme="dark"] .vp-code-tabs-nav {
  background: linear-gradient(180deg, rgba(39, 45, 56, .96), rgba(31, 36, 47, .96));
  border-bottom-color: rgba(148, 163, 184, .14);
}

[data-theme="dark"] .vp-code-tab-nav.active {
  color: #f8fafc;
  background: rgba(20, 25, 34, .96);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .04) inset, 0 8px 20px rgba(0, 0, 0, .18);
}

[data-theme="dark"] .vp-code-tab-nav:hover {
  color: #93c5fd;
  background: rgba(255, 255, 255, .05);
}

@media (max-width: 959px) {
  .pulu-features-grid,
  .pulu-integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pulu-hero-stats {
    flex-wrap: wrap;
  }

  .pulu-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .pulu-hero {
    padding: 42px 18px 58px;
  }

  .pulu-logo-container {
    width: 150px;
    height: 108px;
  }

  .pulu-hero-description br {
    display: none;
  }

  .pulu-hero-stats {
    width: 100%;
    gap: 18px;
    padding: 18px;
  }

  .pulu-stat-item {
    min-width: 100%;
  }

  .pulu-section {
    width: calc(100% - 32px);
    padding: 54px 0;
  }

  .pulu-features-grid,
  .pulu-integration-grid {
    grid-template-columns: 1fr;
  }

  .vp-code-tabs-nav {
    overflow-x: auto;
    padding-left: 6px;
    padding-right: 6px;
  }

  .vp-code-tab-nav {
    min-width: max-content;
    padding: 10px 14px 11px;
  }

  .vp-code-tab {
    padding: 16px 10px 12px;
  }
}
