/* ==========================================================================
   武汉升量网络科技有限公司 — 官方网站样式表
   Wuhan Shengliang Network Technology Co., Ltd.
   Zero external dependencies · Optimized for PC & H5 Mobile
   ========================================================================== */

:root {
  --bg-page: #ffffff;
  --bg-subtle: #f7f9fc;
  --bg-card: #ffffff;
  --bg-dark: #0b1220;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #f8fafc;

  --brand-primary: #1e5eff;
  --brand-primary-hover: #1549d6;
  --brand-accent: #0ea5e9;
  --brand-tint: #eef4ff;
  --brand-border: rgba(30, 94, 255, 0.18);

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container-max: 1120px;
  --header-height: 72px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
    Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-xs);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(30, 94, 255, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  min-width: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-primary);
  background-color: var(--brand-tint);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.lang-toggle:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--brand-tint);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 99;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-panel {
  background: #fff;
  padding: 16px 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--brand-primary);
  background: var(--brand-tint);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), #2563eb);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 94, 255, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-primary-hover), #1d4ed8);
  box-shadow: 0 10px 26px rgba(30, 94, 255, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--brand-tint);
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.85rem;
  border-radius: 9px;
}

/* ==========================================================================
   Hero Section (Clean Editorial Corporate Layout — No Fake Device Mockups)
   ========================================================================== */

.hero {
  position: relative;
  padding: 88px 0 76px;
  background:
    radial-gradient(760px 360px at 50% 0%, rgba(30, 94, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 90%);
  pointer-events: none;
}

.hero-center {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--brand-tint);
  border: 1px solid var(--brand-border);
  color: var(--brand-primary);
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(30, 94, 255, 0.16);
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.hero-title .accent {
  background: linear-gradient(125deg, #1e5eff 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 auto 34px;
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--text-secondary);
  max-width: 680px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-highlights {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  text-align: left;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-tint);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.highlight-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.highlight-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   Sections Common
   ========================================================================== */

.section {
  padding: 84px 0;
}

.section-subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 660px;
  margin-bottom: 48px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Products Grid
   ========================================================================== */

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-xs);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
}

.product-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--brand-tint);
  color: var(--brand-primary);
}

.product-icon.teal {
  background: #ecfeff;
  color: #0284c7;
}

.product-icon.indigo {
  background: #eef2ff;
  color: #4f46e5;
}

.product-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.product-title {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-desc {
  margin: 0 0 20px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.68;
  flex: 1;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
  flex-shrink: 0;
}

.platform-strip {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--brand-tint);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.platform-strip-text {
  font-size: 0.94rem;
  color: var(--text-primary);
  font-weight: 500;
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-badge {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--brand-border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary);
}

/* ==========================================================================
   Capabilities Grid
   ========================================================================== */

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

.capability-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.capability-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 14px;
}

.capability-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.capability-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   About & Corporate Info Card
   ========================================================================== */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.about-copy p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.value-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 14px;
}

.value-pill strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.value-pill span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.entity-card {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.entity-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.entity-card-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #eef4ff;
  color: var(--brand-primary);
  font-size: 0.76rem;
  font-weight: 600;
}

.entity-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.entity-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: 0.9rem;
}

.entity-row dt {
  color: var(--text-muted);
  font-weight: 500;
}

.entity-row dd {
  margin: 0;
  color: var(--text-primary);
  font-weight: 600;
  word-break: break-word;
}

.entity-row dd.mono {
  font-family: var(--font-mono);
}

.placeholder-note {
  color: #b45309;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  display: inline-block;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: stretch;
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.contact-item-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-word;
}

.contact-item-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-form-card .form-hint {
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.14);
}

textarea.form-control {
  min-height: 112px;
  resize: vertical;
}

/* ==========================================================================
   Subpages (Support / Privacy / Terms)
   ========================================================================== */

.page-hero {
  padding: 56px 0 44px;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--brand-primary);
}

.page-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-meta {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.doc-section {
  padding: 52px 0 84px;
}

.doc-container {
  max-width: 840px;
}

.doc-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-xs);
}

.doc-card h2 {
  margin: 30px 0 12px;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
}

.doc-card h2:first-child {
  margin-top: 0;
}

.doc-card p,
.doc-card li {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.8;
}

.doc-card ul {
  padding-left: 20px;
  margin: 10px 0 16px;
}

.doc-highlight {
  background: var(--bg-subtle);
  border-left: 3px solid var(--brand-primary);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 0 0 24px;
}

/* Support FAQ Accordion */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}

.support-channel-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.support-channel-card h3 {
  margin: 14px 0 6px;
  font-size: 1.05rem;
}

.support-channel-card p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--brand-primary);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer (ICP Filing Placed Cleanly at Bottom Only)
   ========================================================================== */

.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 56px 0 calc(32px + env(safe-area-inset-bottom, 0px));
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.85fr));
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-sub {
  color: #94a3b8;
}

.footer-desc {
  margin: 14px 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 420px;
}

.footer-col-title {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color 0.16s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.icp-link {
  color: #cbd5e1;
  transition: color 0.16s ease;
}

.icp-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints (Tablet & H5 Mobile)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-highlights,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .contact-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 18px;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .brand-sub {
    display: none;
  }

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

  .hero-center {
    text-align: left;
  }

  .hero-cta {
    justify-content: flex-start;
    margin-bottom: 36px;
  }

  .hero-cta .btn {
    flex: 1 1 140px;
  }

  .hero-highlights,
  .products-grid,
  .capabilities-grid,
  .values-row,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .entity-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .entity-card,
  .contact-form-card,
  .doc-card {
    padding: 22px 18px;
  }

  .platform-strip {
    padding: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
