/* ============ Navbar ============ */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 11, 24, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.navbar-logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--accent-grad);
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff;
}
.navbar-logo-text { font-weight: 700; font-size: 16px; letter-spacing: -0.2px; }
.navbar-nav { display: flex; align-items: center; gap: 20px; }
.navbar-link { font-size: 14px; color: var(--text-secondary); transition: color var(--transition); }
.navbar-link:hover { color: var(--text-primary); }
.navbar-cta {
  padding: 8px 16px; border-radius: var(--radius-sm);
  background: var(--accent-grad); color: #fff; font-size: 13px; font-weight: 600;
  transition: opacity var(--transition);
}
.navbar-cta:hover { opacity: 0.88; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 90px;
  background:
    radial-gradient(800px 380px at 50% -10%, rgba(99,102,241,0.25), transparent 70%),
    radial-gradient(600px 300px at 85% 10%, rgba(139,92,246,0.18), transparent 70%);
}
.hero-inner { text-align: center; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent-2); font-weight: 600; margin-bottom: 18px;
}
.hero-title { font-size: 56px; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; }
.hero-grad {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 18px; font-size: 18px; color: var(--text-secondary); }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  padding: 13px 26px; border: none; cursor: pointer;
  border-radius: var(--radius-sm); background: var(--accent-grad);
  color: #fff; font-size: 15px; font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-ghost {
  padding: 13px 26px; cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-primary); font-size: 15px; font-weight: 600;
  transition: background var(--transition);
}
.btn-ghost:hover { background: var(--bg-card-hover); }

/* ============ Stats ============ */
.stats-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-surface); }
.stats-inner { display: flex; justify-content: center; gap: 80px; padding: 36px 0; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-value {
  display: block; font-size: 30px; font-weight: 800;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ============ Card Grid ============ */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.solution-card {
  text-align: left; cursor: pointer; width: 100%;
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px; border-radius: var(--radius-card);
  background: var(--bg-card); border: 1px solid var(--border);
  color: inherit; font-family: inherit;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-color);
  box-shadow: 0 0 36px color-mix(in srgb, var(--card-color) 22%, transparent);
}
.solution-card-top { display: flex; align-items: center; justify-content: space-between; }
.solution-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; border: 1px solid;
}
.solution-card-name { font-size: 18px; font-weight: 700; }
.solution-card-tagline { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.solution-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.solution-card-port { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.solution-card-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }

/* ============ Catalog ============ */
.catalog-cat { margin-bottom: 48px; }
.catalog-cat-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; margin-bottom: 20px;
}
.catalog-cat-count {
  font-size: 12px; font-weight: 700; color: var(--accent-2);
  background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.3);
  border-radius: 20px; padding: 2px 10px;
}

/* ============ Detail ============ */
.detail-header { padding: 36px 0 44px; border-bottom: 1px solid var(--border); }
.detail-back { display: inline-block; font-size: 14px; color: var(--text-muted); margin-bottom: 24px; transition: color var(--transition); }
.detail-back:hover { color: var(--text-primary); }
.detail-header-row { display: flex; align-items: center; gap: 22px; }
.detail-icon { width: 80px; height: 80px; border-radius: 20px; display: grid; place-items: center; border: 1px solid; flex-shrink: 0; }
.detail-title-row { display: flex; align-items: center; gap: 12px; }
.detail-title { font-size: 34px; font-weight: 800; letter-spacing: -0.8px; }
.detail-tagline { margin-top: 6px; font-size: 16px; color: var(--text-secondary); }
.detail-cat {
  display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600;
  color: var(--text-muted); border: 1px solid var(--border); border-radius: 20px; padding: 3px 12px;
}
.detail-body { padding: 48px 0 90px; }
.detail-section { margin-bottom: 56px; }

/* ============ Login Box ============ */
.login-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  max-width: 560px;
}
.login-box-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.login-box-title { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-muted); }
.login-field {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); margin-bottom: 10px;
}
.login-field-label { width: 52px; font-size: 12px; font-weight: 700; color: var(--text-muted); flex-shrink: 0; }
.login-field-value { flex: 1; font-family: var(--font-mono); font-size: 16px; color: var(--text-primary); letter-spacing: 0.5px; }
.login-url {
  flex: 1; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 14px; color: #60a5fa; word-break: break-all;
}
.login-url:hover { text-decoration: underline; }
.login-copy-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 4px 6px; border-radius: 6px;
  transition: background var(--transition);
}
.login-copy-btn:hover { background: rgba(255,255,255,0.08); }
.login-copied { font-size: 12px; font-weight: 700; color: #10b981; }
.login-soon-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ============ Feature Grid ============ */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
}
.feature-check { flex-shrink: 0; margin-top: 2px; display: inline-flex; }
.feature-title { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.feature-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* ============ Step Guide ============ */
.step-guide { list-style: none; }
.step-guide-item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.step-guide-rail { display: flex; flex-direction: column; align-items: center; }
.step-guide-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.step-guide-line { flex: 1; width: 2px; background: var(--border); margin: 6px 0; min-height: 16px; }
.step-guide-body { padding-bottom: 24px; }
.step-guide-body h4 { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.step-guide-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ============ Mobile Screens ============ */
.mobile-screen-list { display: flex; gap: 20px; flex-wrap: wrap; }
.mobile-empty { font-size: 14px; color: var(--text-muted); }
.phone-card { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phone-frame {
  width: 148px; height: 296px; border-radius: 24px;
  border: 2px solid;
  overflow: hidden;
  background: #0a0f1e;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}
.phone-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px 0; font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,0.5); flex-shrink: 0;
}
.phone-status-icons { display: flex; align-items: center; gap: 3px; }
.phone-header {
  padding: 8px 12px 10px; flex-shrink: 0;
  display: flex; align-items: center; gap: 8px;
}
.phone-header-icon {
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center; flex-shrink: 0;
}
.phone-header-title {
  font-size: 12px; font-weight: 700; color: #fff; flex: 1;
}
.phone-header-action {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: grid; place-items: center;
}
.phone-body { flex: 1; overflow: hidden; padding: 0 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.phone-stat-row { display: flex; gap: 5px; }
.phone-stat {
  flex: 1; border-radius: 8px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 7px 8px;
}
.phone-stat-val { font-size: 13px; font-weight: 800; color: #fff; line-height: 1; }
.phone-stat-lbl { font-size: 8px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.phone-list-item {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 8px; border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.phone-list-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.phone-list-lines { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.phone-list-line { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.15); }
.phone-list-badge {
  font-size: 8px; font-weight: 700; border-radius: 4px;
  padding: 1px 5px; flex-shrink: 0;
}
.phone-chart { display: flex; align-items: flex-end; gap: 4px; height: 40px; padding: 0 2px; }
.phone-bar { flex: 1; border-radius: 3px 3px 0 0; }
.phone-footer {
  flex-shrink: 0; padding: 8px 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; gap: 5px;
}
.phone-btn {
  flex: 1; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 700; color: #fff;
}
.phone-label { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.phone-name { font-size: 12px; font-weight: 600; text-align: center; color: var(--text-primary); }
.phone-type { font-size: 10px; font-weight: 600; border: 1px solid; border-radius: 20px; padding: 1px 8px; }

/* ============ Home Footer ============ */
.home-footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg-surface); }
.home-footer p { font-size: 14px; color: var(--text-secondary); margin-bottom: 6px; }
.home-footer code { font-family: var(--font-mono); color: var(--accent-2); }
.home-footer a { color: #60a5fa; }
.home-footer a:hover { text-decoration: underline; }
.home-footer-copy { margin-top: 16px; font-size: 13px; color: var(--text-muted); }

@media (max-width: 640px) {
  .hero-title { font-size: 38px; }
  .stats-inner { gap: 40px; }
  .detail-header-row { flex-direction: column; align-items: flex-start; }
}
