:root {
  --bg: #f3f7ff;
  --bg-soft: #eef4ff;
  --text: #10213f;
  --muted: #62708d;
  --line: rgba(115, 145, 214, 0.18);
  --primary: #2563eb;
  --primary-strong: #0f4ae7;
  --primary-soft: #dfeaff;
  --secondary: #4f46e5;
  --accent: #ff9e3d;
  --dark: #050b19;
  --radius-xl: 32px;
  --shadow-card: 0 24px 70px rgba(37, 99, 235, 0.12);
  --shadow-soft: 0 16px 40px rgba(15, 39, 87, 0.08);
  --font-sans: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(79, 70, 229, 0.12), transparent 26%),
    linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
}

a,
button {
  transition: all 0.24s ease;
}

.logo {
    width: 36px;
    height: 36px;
}

.section-shell {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-copy {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
}

.grid-sheen {
  position: relative;
}

.grid-sheen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.announcement-bar {
  position: relative;
  z-index: 40;
  background: linear-gradient(90deg, #eff5ff, #ffffff 45%, #edf4ff);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.header-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 30;
  transition: padding-inline 0.32s ease, padding-top 0.32s ease;
  background: transparent;
}

.header-spacer {
  width: 100%;
  pointer-events: none;
}

.header-glass {
  width: 100%;
  max-width: min(80rem, calc(100vw - 2rem));
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(15, 39, 87, 0.09);
  transition:
    max-width 0.4s ease,
    border-radius 0.4s ease,
    box-shadow 0.32s ease,
    background-color 0.32s ease;
}

.header-shell.is-expanded {
  padding-inline: 0;
  padding-top: 0;
}

.header-shell.is-expanded .header-glass {
  max-width: 100vw;
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(15, 39, 87, 0.12);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.2rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e3157;
}

.nav-link:hover,
.nav-item.is-active > .nav-link,
.nav-item.is-active > button.nav-link {
  color: var(--primary-strong);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 13rem;
  padding: 0.75rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(15, 39, 87, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 1rem;
  color: #17315f;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-dropdown a:hover, .nav-dropdown a.is-active {
  color: var(--primary-strong);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.mobile-menu.is-open {
  max-height: 80vh;
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.mobile-submenu.is-open {
  max-height: 18rem;
}

.main-container{
    margin-top: -78px;
}

.hero-gradient {
  position: relative;
  /* overflow: hidden; */
  background:url('../images/ban-bg.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0 0;
  padding-top: 5rem;
}

.phone-hero-gradient {
  position: relative;
  /* overflow: hidden; */
  /* background:url('../images/phone-bg.png'); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0 0;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.line-height-12 {
  line-height: 1.3 !important;
}

.dashboard-panel,
.glass-card,
.pricing-card,
.news-card,
.showcase-card,
.feature-panel-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(190, 210, 255, 0.65);
  box-shadow: var(--shadow-card);
}

.dashboard-panel {
  border-radius: 2rem;
}

.feature-panel-card,
.showcase-card,
.news-card,
.pricing-card,
.glass-card {
  border-radius: 2rem;
}

.card-lift {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-lift:hover {
  transform: translateY(-9px);
  box-shadow: 0 26px 70px rgba(37, 99, 235, 0.15);
  border-color: rgba(79, 70, 229, 0.25);
}

.media-zoom {
  overflow: hidden;
}

.zoom-target {
  transition: transform 0.4s ease;
}

.media-zoom:hover .zoom-target {
  transform: scale(1.06);
}

.stat-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 60px rgba(6, 22, 61, 0.14);
  color: #21406f;
}

.browser-window {
  border-radius: 1.8rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  box-shadow: 0 24px 60px rgba(4, 20, 60, 0.16);
  overflow: hidden;
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(231, 240, 255, 0.95), rgba(250, 252, 255, 0.95));
  border-bottom: 1px solid rgba(191, 219, 254, 0.75);
}

.browser-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(191, 219, 254, 0.8);
  color: #17407f;
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-tab.is-active,
.showcase-trigger.is-active,
.filter-tab.is-active {
  color: white;
  background: linear-gradient(135deg, #2067f7, #315efb);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.24);
}

.feature-tab,
.showcase-trigger,
.filter-tab {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.feature-panel,
.showcase-panel {
  display: none;
}

.feature-panel.is-active,
.showcase-panel.is-active {
  display: block;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.feature-card {
  /* min-height: 13.5rem; */
  border-radius: 1.2rem;
  border: 1px solid rgba(176, 192, 223, 0.58);
  background: rgba(244, 248, 255, 0.75);
  /* padding: 1.35rem 1.35rem 1.25rem; */
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, transform 0.24s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-card.is-active {
  border-color: rgba(123, 158, 242, 0.72);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(57, 102, 226, 0.12);
}

.feature-card-title {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1e2d4e;
  font-weight: 900;
}

.feature-card-copy {
  margin-top: 1rem;
  max-width: 30ch;
  color: #5f6e89;
  font-size: 1.12rem;
  line-height: 1.75;
}

.feature-card-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
  color: #4c5f83;
  font-size: 1.12rem;
  line-height: 1.65;
}

.feature-card-list li {
  position: relative;
  padding-left: 1.1rem;
}

.feature-card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;;
}

/* .feature-card-art {
  margin-top: 2.6rem;
  height: 5.4rem;
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 35% 45%, rgba(66, 125, 247, 0.32), transparent 45%),
    radial-gradient(circle at 70% 55%, rgba(123, 83, 240, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(215, 227, 252, 0.75), rgba(233, 240, 255, 0.5));
  border: 1px solid rgba(176, 195, 239, 0.6);
} */

.feature-card-wide .feature-card-copy {
  max-width: 34ch;
}

@media (min-width: 1024px) {
  .feature-grid-row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .feature-grid-row-bottom {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .feature-card {
    /* min-height: 23rem; */
    padding: 1.7rem 1.7rem 1.4rem;
  }

}

.accordion-item {
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  text-align: left;
  font-weight: 700;
  color: #17315f;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.32s ease, opacity 0.24s ease;
}

.accordion-item.is-open .accordion-panel {
  opacity: 1;
}

.accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  flex-shrink: 0;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
}

.quote-card {
  height: 100%;
  border-radius: 1.75rem;
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.98));
  border: 1px solid rgba(191, 219, 254, 0.7);
  box-shadow: var(--shadow-soft);
}

.cta-gradient {
  background: linear-gradient(135deg, #1f66f6 0%, #2f5cf7 45%, #5b6eff 100%);
}

.footer-shell {
  background: radial-gradient(circle at top, rgba(26, 98, 248, 0.22), transparent 35%), #050811;
}

.footer-link {
  color: rgba(236, 243, 255, 0.78);
}

.footer-link:hover {
  color: white;
}

.promo-banner {
  border-radius: 1.2rem;
  border: 1px solid rgba(191, 219, 254, 0.75);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
  padding: 0.9rem 1rem;
  color: #163a70;
}

.phone-frame {
  position: relative;
  width: min(21rem, 100%);
  aspect-ratio: 10 / 20;
  border-radius: 2.3rem;
  padding: 0.8rem;
  background: linear-gradient(180deg, #101b34, #0d1630);
  box-shadow: 0 24px 60px rgba(4, 20, 60, 0.18);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at 75% 16%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 16%),
    linear-gradient(165deg, #dff0ff 0%, #d5e7ff 32%, #9dd1ff 65%, #5ba1ff 100%);
}

.phone-screen::before,
.phone-screen::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
}

.phone-screen::before {
  width: 80%;
  height: 80%;
  left: 8%;
  top: 20%;
  border: 2px solid rgba(255, 255, 255, 0.48);
  transform: rotate(30deg);
}

.phone-screen::after {
  width: 68%;
  height: 68%;
  right: -6%;
  bottom: 12%;
  border: 2px solid rgba(255, 255, 255, 0.52);
  transform: rotate(32deg);
}

.pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.65rem;
  height: 2.65rem;
  padding: 0 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.94);
  color: #1d3158;
  font-weight: 700;
}

.pagination-button:hover,
.pagination-button.is-active {
  border-color: rgba(37, 99, 235, 0.3);
  color: white;
  background: linear-gradient(135deg, #2067f7, #315efb);
}

.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  line-clamp: 3;
  -webkit-line-clamp: 3;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shape-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  color: white;
  font-weight: 800;
}

.tag-cloud span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #17315f;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.hidden-card {
  display: none !important;
}

@media (max-width: 1023px) {
  .header-shell {
    top: 0;
    padding-inline: 0;
    padding-top: 0;
    transition: none;
  }

  .header-glass {
    max-width: 100vw;
    border-radius: 0;
    transition: none;
  }

  .header-shell.is-expanded {
    padding-inline: 0;
    padding-top: 0;
  }

  .header-shell.is-expanded .header-glass {
    max-width: 100vw;
    border-radius: 0;
  }

  .nav-dropdown {
    display: none;
  }
}

@media (max-width: 767px) {
  .section-shell {
    padding: 4rem 0;
  }

  .hero-wave {
    height: 54px;
  }

  .stat-float {
    position: static;
    margin-top: 0.9rem;
  }

  .phone-frame {
    width: min(16rem, 100%);
  }
}