/* assets/css/style.css */

/* =========================
   Global Reset
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-primary: #0f2a44;
  --color-primary-soft: #163a5d;
  --color-secondary: #4b5563;
  --color-accent: #1d4ed8;
  --color-accent-dark: #173ea9;
  --color-bg: #f5f7fa;
  --color-surface: #ffffff;
  --color-border: #d7dde5;
  --color-border-strong: #b9c3cf;
  --color-text: #17212b;
  --color-text-muted: #5f6b78;
  --color-success: #0f766e;
  --color-warning: #b45309;
  --color-shadow: rgba(15, 42, 68, 0.08);

  --container-width: 1200px;
  --header-height: 76px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-card: 0 8px 24px rgba(15, 42, 68, 0.06);
  --shadow-soft: 0 4px 14px rgba(15, 42, 68, 0.05);

  --font-body: Inter, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --transition-fast: 0.2s ease;
  --transition-base: 0.28s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  min-width: 320px;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

iframe {
  border: 0;
  width: 100%;
}

/* =========================
   Utility
========================= */
.container {
  width: min(var(--container-width), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 52px 0;
}

.section-dark {
  background: var(--color-primary);
  color: #ffffff;
}

.section-white {
  background: var(--color-surface);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h1,
.section-heading h2 {
  margin-bottom: 14px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.section-dark .section-heading p,
.section-dark .muted-text,
.section-dark .stat-note {
  color: rgba(255, 255, 255, 0.78);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stack-sm > * + * {
  margin-top: 12px;
}

.stack-md > * + * {
  margin-top: 20px;
}

.stack-lg > * + * {
  margin-top: 30px;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.muted-text {
  color: var(--color-text-muted);
}

.highlight {
  color: var(--color-accent);
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--color-border);
  background: #f9fbfd;
  border-radius: 999px;
  color: var(--color-secondary);
  font-size: 0.92rem;
  font-weight: 600;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.page-intro {
  padding: 56px 0 32px;
}

.page-intro .section-heading {
  margin-bottom: 0;
}

/* =========================
   Typography
========================= */
h1,
h2,
h3,
h4 {
  color: var(--color-primary);
  line-height: 1.2;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.24rem;
  font-weight: 700;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

p {
  color: var(--color-secondary);
  margin-bottom: 16px;
}

small {
  color: var(--color-text-muted);
}

code,
.spec-value,
.data-value,
.metric-number,
.table-mono,
.process-index,
.kpi-value {
  font-family: var(--font-mono);
}

/* =========================
   Buttons
========================= */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-accent-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(29, 78, 216, 0.04);
}

.btn-light {
  background: #ffffff;
  color: var(--color-primary);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: #edf3fb;
}

.btn-block {
  width: 100%;
}

/* =========================
   Header / Navigation
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215, 221, 229, 0.9);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  color: var(--color-primary);
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand-text span {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  align-items: center;
  justify-content: center;
}

.nav-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: var(--color-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.main-nav li {
  position: relative;
}

.main-nav a,
.nav-label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--color-secondary);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.nav-label:hover {
  color: var(--color-primary);
  background: rgba(15, 42, 68, 0.05);
}

.main-nav a.active,
.main-nav li.active > a,
.main-nav li.active > .nav-label {
  color: var(--color-accent);
  background: rgba(29, 78, 216, 0.08);
}

.has-dropdown .nav-label::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast),
    visibility var(--transition-fast);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  width: 100%;
  justify-content: flex-start;
}

.header-cta {
  flex-shrink: 0;
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.16), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fa 100%);
  padding: 84px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.hero-copy p {
  max-width: 640px;
  font-size: 1.04rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 30px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.hero-stat,
.kpi-card {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.metric-number,
.kpi-value {
  display: block;
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.metric-label,
.kpi-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero-visual-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-visual-body {
  padding: 22px;
}

.hero-visual-panel {
  background: linear-gradient(180deg, #0f2a44 0%, #163a5d 100%);
  color: #ffffff;
  padding: 18px;
  border-radius: 12px;
  margin-top: 18px;
}

.hero-visual-panel p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

/* =========================
   Cards / Panels
========================= */
.card,
.info-card,
.spec-card,
.feature-card,
.resource-card,
.contact-card,
.timeline-card,
.kpi-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.card,
.info-card,
.feature-card,
.resource-card,
.contact-card,
.timeline-card,
.kpi-panel {
  padding: 24px;
}

.card:hover,
.feature-card:hover,
.resource-card:hover {
  border-color: #c6d2e0;
  box-shadow: var(--shadow-card);
}

.card-icon,
.info-icon,
.step-icon,
.list-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-weight: 700;
}

.card h3,
.info-card h3,
.feature-card h3,
.resource-card h3 {
  margin-bottom: 12px;
}

.card p:last-child,
.info-card p:last-child,
.feature-card p:last-child,
.resource-card p:last-child {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--color-accent);
  font-weight: 700;
}

.card-link::after {
  content: "→";
}

/* =========================
   Image Placeholder
========================= */
.image-placeholder {
  position: relative;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(15, 42, 68, 0.07), rgba(29, 78, 216, 0.08)),
    #eaf0f6;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(15, 42, 68, 0.18);
  border-radius: 8px;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(207, 216, 227, 0.9);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--color-primary);
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.image-placeholder.tall {
  min-height: 360px;
}

.image-placeholder.short {
  min-height: 200px;
}

/* =========================
   Tables
========================= */
.table-wrap {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.data-table th,
.data-table td,
.spec-table th,
.spec-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.data-table th,
.spec-table th {
  background: #f8fafc;
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.data-table td,
.spec-table td {
  color: var(--color-secondary);
  font-size: 0.95rem;
}

.data-table tr:last-child td,
.spec-table tr:last-child td {
  border-bottom: none;
}

.table-note {
  padding: 14px 16px;
  border-top: 1px solid var(--color-border);
  background: #fcfdff;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* =========================
   Specs / Data Blocks
========================= */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.spec-item {
  padding: 18px;
  border: 1px solid var(--color-border);
  background: #fbfcfe;
  border-radius: var(--radius-sm);
}

.spec-label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.spec-value {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
}

.stats-grid,
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.62rem;
  line-height: 1;
  color: var(--color-primary);
}

.stat-card span {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* =========================
   Bars / Charts / Comparison
========================= */
.bar-group {
  display: grid;
  gap: 16px;
}

.bar-item {
  display: grid;
  gap: 8px;
}

.bar-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-primary);
  font-weight: 700;
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: #dfe7f1;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.comparison-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.comparison-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.comparison-card li {
  padding-left: 20px;
  position: relative;
  color: var(--color-secondary);
}

.comparison-card li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* =========================
   Timeline / Process
========================= */
.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.process-index {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 4px;
}

.timeline-content {
  position: relative;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 24px;
  left: -28px;
  width: 28px;
  height: 1px;
  background: var(--color-border-strong);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  position: relative;
  padding: 22px 18px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 24px;
  height: 1px;
  background: var(--color-border-strong);
}

/* =========================
   Lists
========================= */
.check-list,
.detail-list,
.contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li,
.detail-list li,
.contact-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-secondary);
}

.check-list li::before,
.detail-list li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.number-list {
  counter-reset: item;
  list-style: none;
  display: grid;
  gap: 14px;
}

.number-list li {
  counter-increment: item;
  position: relative;
  padding: 0 0 0 52px;
  min-height: 36px;
}

.number-list li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* =========================
   Product Cards
========================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: #c8d4e2;
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.product-meta span {
  display: inline-flex;
  padding: 6px 10px;
  background: #f6f9fc;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

/* =========================
   Filters / Tabs
========================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-secondary);
  font-weight: 600;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(29, 78, 216, 0.06);
}

/* =========================
   Forms
========================= */
.form-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
}

.form-note {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* =========================
   CTA / Banner
========================= */
.cta-banner {
  padding: 34px;
  background: linear-gradient(135deg, var(--color-primary), #143858);
  color: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.cta-banner h2,
.cta-banner h3,
.cta-banner p {
  color: #ffffff;
}

.cta-banner p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-banner .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.cta-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.52);
}

/* =========================
   Footer
========================= */
.site-footer {
  background: #0d2238;
  color: #ffffff;
  padding-top: 62px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 28px;
  padding-bottom: 34px;
}

.footer-title {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
}

.footer-text,
.footer-links a,
.footer-contact li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text span {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* =========================
   Breadcrumb
========================= */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span.current {
  color: var(--color-primary);
  font-weight: 700;
}

/* =========================
   Contact / Map
========================= */
.map-embed {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  background: #ffffff;
}

.contact-card h3,
.contact-card p:last-child {
  margin-bottom: 0;
}

/* =========================
   Blog / Article / FAQ
========================= */
.article-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 10px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: #ffffff;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  color: var(--color-primary);
  font-weight: 700;
}

.faq-question::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  color: var(--color-accent);
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1100px) {
  .grid-4,
  .stats-grid,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .footer-grid,
  .grid-3,
  .process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: rgba(255, 255, 255, 0.99);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
  }

  .site-header.nav-open .nav-wrap {
    display: flex;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .main-nav a,
  .nav-label {
    width: 100%;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 14px;
  }

  .has-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 100%;
    margin-top: 6px;
    padding: 8px;
    box-shadow: none;
    border-radius: 8px;
    display: none;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .header-cta {
    padding-top: 14px;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .spec-grid,
  .footer-grid,
  .article-card {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-content::before {
    display: none;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .process-step:not(:last-child)::after {
    top: auto;
    bottom: -8px;
    right: 50%;
    width: 1px;
    height: 16px;
    transform: translateX(50%);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container-width));
  }

  .section {
    padding: 60px 0;
  }

  .section-sm {
    padding: 44px 0;
  }

  .hero {
    padding: 64px 0 52px;
  }

  .hero-stat-grid,
  .stats-grid,
  .kpi-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .btn-row,
  .filter-bar,
  .hero-meta,
  .footer-bottom,
  .footer-bottom-links {
    flex-direction: column;
    align-items: stretch;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-card,
  .card,
  .info-card,
  .feature-card,
  .resource-card,
  .contact-card,
  .timeline-content,
  .cta-banner {
    padding: 20px;
  }

  .image-placeholder {
    min-height: 220px;
  }

  .image-placeholder.tall {
    min-height: 280px;
  }
}

.hero-visual-panel h3 {
  color: #ffffff; /* 纯白最清晰 */
}