.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  color: #fff;
  font-size: 20px;
}

.brand-title {
  overflow: hidden;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.25);
  color: #fff;
}

.hero::after {
  position: absolute;
  top: -50px;
  right: -55px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  content: "";
}

.hero-title,
.hero-desc {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.hero-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.92;
}

.search-wrap {
  margin-top: -6px;
  padding: 0 18px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-md);
  cursor: text;
}

.search-box i {
  flex-shrink: 0;
  color: var(--primary);
}

.search-box input {
  width: 100%;
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.search-box input::placeholder {
  color: #94a3b8;
}

.quick-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 13px 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.quick-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 17px;
}

.quick-label {
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.feature-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  overflow: hidden;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 19px;
}

.feature-body {
  min-width: 0;
  flex: 1;
}

.feature-title {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
}

.feature-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.chevron {
  flex-shrink: 0;
  color: #94a3b8;
}

.flow-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.flow-step {
  padding: 12px 8px;
  border-radius: 15px;
  background: var(--primary-light);
  color: var(--primary-dark);
  text-align: center;
}

.flow-step strong {
  display: block;
  font-size: 13px;
}

.flow-step span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.flow-arrow {
  color: var(--primary);
  text-align: center;
}

.chip {
  flex: 0 0 auto;
  padding: 10px 14px;
  scroll-snap-align: start;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.bottom-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.bottom-item i {
  font-size: 18px;
}

.bottom-item.active {
  background: var(--primary-light);
  color: var(--primary);
}

.native-click {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.native-click:active {
  transform: scale(0.985);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.55s linear;
  background: rgba(37, 99, 235, 0.18);
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
