.home {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  min-height: 560px;
  gap: 48px;
  padding: 96px 0 64px;
}

.hero h1 {
  margin: 0 0 12px;
  color: var(--vp-c-brand-1);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
}

.hero-text {
  margin: 0;
  color: var(--vp-c-text-1);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
}

.tagline {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--vp-c-text-2);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 500;
}

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

.button.ant-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.button.ant-btn .ant-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.browser-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.chrome-icon {
  color: #4285f4;
}

.edge-browser-icon {
  width: 18px;
  height: 18px;
  transform: translate(1.5px, -0.5px);
}

.button.brand.ant-btn {
  color: #ffffff;
}

.button.chrome.ant-btn {
  border-color: #4285f4;
  background: #4285f4;
}

.button.chrome.ant-btn:hover {
  border-color: #3367d6;
  background: #3367d6;
  color: #ffffff;
}

.button.edge.ant-btn {
  border-color: transparent;
  background: linear-gradient(135deg, #0c59a4 0%, #11aeef 100%);
}

.button.edge.ant-btn:hover {
  background: linear-gradient(135deg, #094582 0%, #0d96d1 100%);
  color: #ffffff;
}

.button.alt.ant-btn {
  border-color: var(--vp-c-divider);
  background: var(--vp-c-bg-soft);
  color: var(--vp-c-text-1);
}

.button.alt.ant-btn .ant-btn-icon {
  background: var(--vp-c-control-hover);
  color: var(--vp-c-text-1);
  box-shadow: inset 0 0 0 1px var(--vp-c-divider);
}

.button.alt.ant-btn:hover {
  border-color: var(--vp-c-divider);
  background: var(--vp-c-control-hover);
  color: var(--vp-c-text-1);
}

.supported-ai-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 660px;
  margin-top: 22px;
}

.supported-ai-strip__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--vp-c-divider);
  border-radius: 50%;
  background: var(--vp-c-control);
  color: var(--vp-c-text-2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.supported-ai-strip__item:hover {
  border-color: var(--vp-c-brand-1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  width: 320px;
  max-width: 100%;
  height: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0;
}

.feature.ant-card {
  min-height: 160px;
  border-radius: 12px;
  background: var(--vp-c-card);
}

.feature .ant-card-body {
  padding: 24px;
}

.feature h2 {
  margin: 0;
  color: var(--vp-c-text-1);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.feature p {
  margin: 8px 0 0;
  color: var(--vp-c-text-2);
  font-size: 15px;
  line-height: 1.55;
}

.demo {
  padding: 40px 0 0;
  text-align: center;
}

.demo img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 40px;
    padding-top: 72px;
    text-align: center;
  }

  .tagline {
    margin-right: auto;
    margin-left: auto;
  }

  .actions {
    justify-content: center;
  }

  .supported-ai-strip {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-logo {
    order: -1;
  }

  .hero-logo img {
    width: 200px;
  }

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

@media (max-width: 720px) {
  .home {
    padding: 0 20px 48px;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero h1,
  .hero-text {
    font-size: 40px;
  }

  .tagline {
    font-size: 20px;
  }

  .button.ant-btn {
    width: 100%;
    min-height: 46px;
    font-size: 15px;
  }
}
