/* =============================================
   TF Fiscal - China Market Landing Page
   ============================================= */

@import url('https://fonts.cdnfonts.com/css/satoshi');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0B3D91;
  --primary-light: #1565C0;
  --primary-dark: #062654;
  --accent: #00B894;
  --accent-light: #55E6C1;
  --accent-dark: #009674;
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --bg-dark: #0A1628;
  --text: #1A2332;
  --text-secondary: #5A6B7F;
  --text-light: #8896A6;
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-cn: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-cn);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-cn);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 32px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 18px !important;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 500 !important;
  white-space: nowrap;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--primary-light);
  color: #fff !important;
}

.nav-login {
  padding: 8px 18px !important;
  background: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 500 !important;
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-login::after {
  display: none !important;
}

.nav-login:hover {
  background: var(--primary);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 50%, #e8f0fe 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(11, 61, 145, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 184, 148, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(11, 61, 145, 0.02) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(11, 61, 145, 0.08);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle-brand {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-en);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero Code Block */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-code-block {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-xl);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot.red { background: #FF5F57; }
.code-dot.yellow { background: #FEBC2E; }
.code-dot.green { background: #28C840; }

.code-title {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-family: var(--font-en);
}

.code-body {
  padding: 24px 20px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.7);
  overflow-x: auto;
}

.code-body code {
  font-family: inherit;
}

.code-method { color: #28C840; font-weight: 600; }
.code-key { color: #79B8FF; }
.code-str { color: #85E89D; }
.code-num { color: #FFAB70; }
.code-comment { color: #6A737D; font-style: italic; }

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.78rem;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* --- Section Common --- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(11, 61, 145, 0.06);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Problems Section --- */
.section-problems {
  background: var(--bg);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.problem-card {
  padding: 32px 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

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

.problem-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 61, 145, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--primary);
}

.problem-icon svg {
  width: 24px;
  height: 24px;
}

.problem-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Consequence card */
.consequence-card {
  background: linear-gradient(135deg, #FFF5F5 0%, #FFF0F0 100%);
  border: 1px solid #FED7D7;
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}

.consequence-card h3 {
  font-size: 1.15rem;
  color: #C53030;
  margin-bottom: 20px;
}

.consequence-items {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.consequence-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #9B2C2C;
}

.consequence-x {
  color: #E53E3E;
  font-weight: 700;
  font-size: 1.1rem;
}

.consequence-solution {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #FED7D7;
  font-size: 1.1rem;
  color: var(--primary);
}

.solution-arrow {
  font-size: 1.3rem;
  color: var(--accent);
}

/* --- Features Section --- */
.section-features {
  background: var(--bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 61, 145, 0.15);
}

.feature-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(11, 61, 145, 0.04);
  font-family: var(--font-en);
  line-height: 1;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: #fff;
}

.feature-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- Scenarios Section --- */
.section-scenarios {
  background: var(--bg);
}

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

.scenario-card {
  padding: 36px 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.scenario-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.scenario-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 61, 145, 0.06);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: all var(--transition);
}

.scenario-card:hover .scenario-icon {
  background: var(--primary);
  color: #fff;
}

.scenario-card:hover .scenario-icon svg {
  color: #fff;
  stroke: #fff;
}

.scenario-icon svg {
  width: 28px;
  height: 28px;
}

.scenario-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.scenario-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.scenario-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 12px;
  background: rgba(0, 184, 148, 0.08);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 100px;
}

/* --- Process Section --- */
.section-process {
  background: var(--bg-alt);
}

.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.process-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 20px 0;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-en);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.process-step:hover .step-number {
  background: var(--primary);
  color: #fff;
}

.step-content {
  padding-top: 8px;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Why Us Section --- */
.section-why {
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.why-group {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border-light);
}

.why-group-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(11, 61, 145, 0.1);
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text);
}

.why-check {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 184, 148, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--accent-dark);
}

.why-check svg {
  width: 14px;
  height: 14px;
}

/* --- Architecture Section --- */
.section-arch {
  background: var(--bg-dark);
  color: #fff;
}

.section-arch .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-light);
}

.section-arch .section-title {
  color: #fff;
}

.section-arch .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.arch-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
}

.arch-node:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.arch-node-api {
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.5), rgba(21, 101, 192, 0.5));
  border-color: rgba(11, 61, 145, 0.6);
}

.arch-node-api:hover {
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.7), rgba(21, 101, 192, 0.7));
}

.arch-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-icon svg {
  width: 24px;
  height: 24px;
}

.arch-arrow {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
}

.arch-arrow svg {
  width: 24px;
  height: 48px;
}

.arch-side-nodes {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  width: 100%;
}

.arch-side-node {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arch-side-arrow {
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  width: 32px;
}

.arch-side-arrow svg {
  width: 32px;
  height: 24px;
}

.arch-node-small {
  padding: 14px 20px;
  font-size: 0.85rem;
  width: 100%;
}

.arch-node-small .arch-icon {
  width: 28px;
  height: 28px;
}

.arch-node-small .arch-icon svg {
  width: 18px;
  height: 18px;
}

/* --- Trust Section --- */
.section-trust {
  background: var(--bg-alt);
}

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

.trust-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trust-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 12px;
}

.trust-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- CTA Section --- */
.section-cta {
  background: linear-gradient(135deg, #0B3D91 0%, #1565C0 50%, #0B3D91 100%);
  padding: 80px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 32px;
}

.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-benefit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.cta-benefit::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(0, 184, 148, 0.3);
  color: var(--accent-light);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA QR Code */
.cta-qr-wrap {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-qr-wrap h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.cta-qr-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-wecom-qr {
  width: 220px;
  height: 220px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  padding: 8px;
  background: #fff;
  object-fit: contain;
  margin-bottom: 24px;
  transition: transform var(--transition);
}

.cta-wecom-qr:hover {
  transform: scale(1.03);
}

.cta-qr-hint {
  font-size: 0.85rem;
  color: var(--text-light);
  position: relative;
  padding-top: 16px;
}

.cta-qr-hint::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 28px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li,
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-wecom {
  margin-top: 16px;
}

.footer-wecom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.wecom-qr {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: #fff;
  padding: 4px;
  object-fit: contain;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-icp a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  transition: color var(--transition);
}

.footer-icp a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-code-block {
    max-width: 400px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

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

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

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-login {
    text-align: center;
    width: 100%;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-scroll-hint {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .problems-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .consequence-items {
    flex-direction: column;
    gap: 12px;
  }

  .consequence-card {
    padding: 28px 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .scenarios-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .arch-side-nodes {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-line {
    left: 24px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .cta-form-wrap {
    padding: 28px 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   Inner Pages (About / Cases / Pricing / FAQ / Legal)
   ============================================= */
.inner-page { padding-top: 72px; }

.inner-banner {
  position: relative;
  background: linear-gradient(135deg, #0B3D91 0%, #062654 60%, #1565C0 100%);
  color: #fff;
  padding: 80px 0 64px;
  overflow: hidden;
}
.inner-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(85,230,193,0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(21,101,192,0.35), transparent 60%);
  pointer-events: none;
}
.inner-banner-inner { position: relative; z-index: 1; text-align: center; }
.inner-banner-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.85rem;
  border-radius: 100px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.inner-banner-title {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.inner-banner-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}
.inner-breadcrumb {
  margin-top: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.inner-breadcrumb a { color: rgba(255,255,255,0.9); }
.inner-breadcrumb a:hover { color: var(--accent-light); }
.inner-breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* About: highlight stats */
.about-highlights { padding: 64px 0; background: #fff; }
.about-highlights-grid {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-highlight { text-align: center; position: relative; }
.about-highlight + .about-highlight::before {
  content: '';
  position: absolute;
  left: -12px; top: 10%;
  height: 80%; width: 1px;
  background: var(--border);
}
.about-highlight-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.about-highlight-desc {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About: story panel */
.about-story { padding: 32px 0 80px; background: #fff; }
.about-story-panel {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  background: linear-gradient(135deg, #0B3D91 0%, #062654 70%);
  color: #fff;
  overflow: hidden;
}
.about-story-panel::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(85,230,193,0.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(21,101,192,0.35), transparent 60%);
  pointer-events: none;
}
.about-story-title {
  position: relative;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 1px;
}
.about-story-content { position: relative; max-width: 820px; margin: 0 auto; }
.about-story-p {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.92);
  line-height: 1.9;
  font-size: 1rem;
}
.about-story-p::before {
  content: '';
  flex: 0 0 auto;
  margin-top: 12px;
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--accent);
}

/* About: culture */
.about-culture { padding: 64px 0; background: #fff; }
.about-culture-grid {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.about-culture-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 8px 24px;
  position: relative;
}
.about-culture-item + .about-culture-item::before {
  content: '';
  position: absolute;
  left: 0; top: 15%;
  height: 70%; width: 1px;
  background: var(--border);
}
.about-culture-icon { flex: 0 0 auto; width: 56px; height: 56px; object-fit: contain; }
.about-culture-title { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.about-culture-desc { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* About: history & distribution */
.about-history { padding: 32px 0 64px; background: #fff; }
.about-distribution { padding: 32px 0 64px; background: #fff; }
.about-history-heading,
.about-distribution-heading {
  text-align: center;
  margin-bottom: 32px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000873;
  letter-spacing: 1px;
}
.about-history-heading::before { content: '<<< '; opacity: 0.6; }
.about-history-heading::after { content: ' >>>'; opacity: 0.6; }
.about-distribution-heading::before { content: '\00B7\00B7\00B7  '; opacity: 0.6; }
.about-distribution-heading::after { content: '  \00B7\00B7\00B7'; opacity: 0.6; }
.about-history-img,
.about-distribution-img { width: 100%; height: auto; max-width: 1200px; margin: 0 auto; display: block; }

/* About: subject card (legal entity) */
.about-subject { padding: 32px 0 80px; background: var(--bg-alt); }
.about-subject-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-subject-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.about-subject-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.about-subject-card h3 .flag {
  font-size: 1.3rem;
  line-height: 1;
}
.about-subject-card dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  row-gap: 10px;
  column-gap: 12px;
  font-size: 0.92rem;
}
.about-subject-card dt { color: var(--text-light); }
.about-subject-card dd { color: var(--text); word-break: break-all; }

/* About: slogan */
.about-slogan { padding: 80px 0 96px; background: #fff; text-align: center; }
.about-slogan-text { font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: 6px; }

/* Cases */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 64px 0; }
.case-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition);
}
.case-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.case-logo { height: 40px; margin-bottom: 16px; display: flex; align-items: center; }
.case-logo span { font-size: 1.4rem; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.case-title { font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.case-meta { display: flex; gap: 12px; margin-bottom: 16px; font-size: 0.85rem; color: var(--text-light); flex-wrap: wrap; }
.case-meta span { padding: 2px 10px; background: var(--bg-alt); border-radius: 100px; }
.case-desc { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; font-size: 0.95rem; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 16px; border-top: 1px dashed var(--border); }
.case-metric .num { font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.case-metric .label { font-size: 0.78rem; color: var(--text-light); }

.partner-logos { padding: 48px 0; background: var(--bg-alt); }
.partner-logos h3 { text-align: center; font-size: 1.2rem; font-weight: 600; margin-bottom: 24px; color: var(--text); }
.partner-logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.partner-logo-chip {
  padding: 10px 22px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 64px 0 32px; }
.pricing-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.pricing-card.featured { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.pricing-card.featured::before {
  content: '推荐';
  position: absolute;
  top: -12px; right: 24px;
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.pricing-name { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.pricing-tagline { color: var(--text-light); font-size: 0.9rem; margin-bottom: 24px; }
.pricing-price { font-size: 1.6rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.pricing-price .amount { font-size: 2.4rem; }
.pricing-price .unit { font-size: 0.85rem; color: var(--text-light); font-weight: 400; margin-left: 4px; }
.pricing-divider { height: 1px; background: var(--border-light); margin: 20px 0; }
.pricing-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.pricing-list li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6;
}
.pricing-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pricing-note {
  padding: 16px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 24px 0;
}
.pricing-faq { padding: 48px 0 80px; }
.pricing-faq h2 { text-align: center; font-size: 1.6rem; margin-bottom: 32px; color: var(--text); }
.pricing-faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.pricing-faq-item h4 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.pricing-faq-item p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* FAQ */
.faq-section { padding: 48px 0 80px; }
.faq-category { margin-bottom: 48px; }
.faq-category-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-alt);
}
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  font-size: 1rem;
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 300;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Legal */
.legal-content { padding: 64px 0 96px; max-width: 860px; margin: 0 auto; }
.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}
.legal-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin: 24px 0 10px; }
.legal-content p, .legal-content li { color: var(--text-secondary); line-height: 1.9; font-size: 0.95rem; margin-bottom: 10px; }
.legal-content ul, .legal-content ol { margin-left: 24px; margin-bottom: 14px; }
.legal-content ul li { list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-meta {
  background: var(--bg-alt);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* =============================================
   Nav Dropdown (二级下拉菜单)
   ============================================= */
.nav-links li.nav-dropdown {
  position: relative;
}
.nav-links li.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links li.nav-dropdown > a::before {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links li.nav-dropdown > a:hover::before { width: 100%; }
.nav-links li.nav-dropdown > a::after {
  content: '\25BE'; /* down arrow */
  font-size: 0.7em;
  opacity: 0.7;
  transition: transform 0.2s ease;
  display: inline-block;
  margin-left: 2px;
}
.nav-links li.nav-dropdown:hover > a::after,
.nav-links li.nav-dropdown.open > a::after {
  transform: none;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 0 0 1px var(--border-light);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 24px;
  min-width: 640px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}
.nav-links li.nav-dropdown:hover .nav-dropdown-menu,
.nav-links li.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Bridge to keep hover when moving from trigger to menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}

.nav-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-dropdown-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}
.nav-dropdown-col a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 400;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.nav-dropdown-col a::after { display: none !important; }
.nav-dropdown-col a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}
.nav-dropdown-col a .ext {
  font-size: 0.75em;
  opacity: 0.6;
  margin-left: 2px;
}
.nav-dropdown-col a .new-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 100px;
  font-weight: 600;
}

/* Mobile: dropdown becomes inline expandable */
@media (max-width: 1024px) {
  .nav-dropdown-menu {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    min-width: 0;
    box-shadow: none;
    background: var(--bg-alt);
    padding: 12px;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links li.nav-dropdown.open .nav-dropdown-menu {
    display: grid;
  }
  .nav-links li.nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }
  .nav-links li.nav-dropdown.open .nav-dropdown-menu {
    display: grid;
  }
  .nav-dropdown-col { gap: 0; }
  .nav-dropdown-title { margin-top: 8px; }
  .nav-dropdown-col a { padding: 10px 12px; font-size: 0.92rem; }
}

/* =============================================
   Language Switcher (seletor de idioma)
   ============================================= */
.lang-switcher > a.lang-trigger { cursor: pointer; }
.flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.10);
  vertical-align: middle;
}
.flag-zh { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'><rect width='28' height='20' fill='%23de2910'/><path d='M14 4 L15.5 8 L19.7 8.2 L16.4 10.8 L17.5 14.9 L14 12.5 L10.5 14.9 L11.6 10.8 L8.3 8.2 L12.5 8 Z' fill='%23ffde00'/></svg>"); }
.flag-br { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'><rect width='28' height='20' fill='%23009b3a'/><path d='M14 3 L25 10 L14 17 L3 10 Z' fill='%23ffdf00'/><circle cx='14' cy='10' r='3.8' fill='%23002776'/></svg>"); }
.flag-es { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'><rect width='28' height='20' fill='%23c60b1e'/><rect y='5' width='28' height='10' fill='%23ffc400'/></svg>"); }
.flag-en { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'><rect width='28' height='20' fill='%23ffffff'/><g fill='%23b22234'><rect width='28' height='1.6'/><rect y='3.1' width='28' height='1.6'/><rect y='6.2' width='28' height='1.6'/><rect y='9.2' width='28' height='1.6'/><rect y='12.3' width='28' height='1.6'/><rect y='15.4' width='28' height='1.6'/><rect y='18.4' width='28' height='1.6'/></g><rect width='11' height='10.8' fill='%233c3b6e'/></svg>"); }
.nav-dropdown-menu.lang-menu {
  grid-template-columns: 1fr;
  min-width: 168px;
  padding: 8px;
  gap: 2px;
  left: auto;
  right: 0;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 400;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.lang-menu a::after { display: none !important; }
.lang-menu a:hover { background: var(--bg-alt); color: var(--primary); }
.lang-menu a.active { background: var(--bg-alt); color: var(--primary); font-weight: 600; }
@media (max-width: 1024px) {
  .nav-dropdown-menu.lang-menu { grid-template-columns: 1fr; }
}

/* =============================================
   Solutions Page
   ============================================= */
.solutions-intro {
  padding: 56px 0 24px;
  background: #fff;
  text-align: center;
}
.solutions-intro p {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 1rem;
}

.solutions-category {
  padding: 32px 0 40px;
}
.solutions-category-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-alt);
}
.solutions-category-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
.solutions-category-header .sub {
  color: var(--text-light);
  font-size: 0.95rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.solution-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.solution-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.solution-card .solution-tag {
  position: absolute;
  top: 16px; right: 16px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}
.solution-tag.tag-core { background: rgba(11, 61, 145, 0.08); color: var(--primary); }
.solution-tag.tag-logistics { background: rgba(0, 184, 148, 0.1); color: var(--accent-dark); }
.solution-tag.tag-data { background: rgba(245, 158, 11, 0.1); color: #b45309; }
.solution-tag.tag-new { background: var(--accent); color: #fff; }

.solution-card .solution-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  padding-right: 60px;
}
.solution-card .solution-tagline {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.solution-card ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.solution-card ul li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: flex;
  gap: 6px;
}
.solution-card ul li::before {
  content: '·';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}
.solution-card .solution-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: auto;
}
.solution-card .solution-action:hover { color: var(--primary-light); }
.solution-card .solution-action::after {
  content: '→';
  transition: transform var(--transition);
}
.solution-card .solution-action:hover::after { transform: translateX(4px); }

/* Solution detail blocks (anchored) */
.solution-detail {
  padding: 56px 0;
  scroll-margin-top: 80px;
}
.solution-detail:nth-child(even) { background: var(--bg-alt); }
.solution-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.solution-detail-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.solution-detail-info .lead {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.solution-detail-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 10px;
}
.solution-detail-info ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.solution-detail-info ul li {
  display: flex; gap: 8px; align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.solution-detail-info ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.solution-detail-side {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
}
.solution-detail-side h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.solution-detail-side .price-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
}
.solution-detail-side .price-row:last-child { border-bottom: none; }
.solution-detail-side .price-row .label { color: var(--text-secondary); }
.solution-detail-side .price-row .value { color: var(--primary); font-weight: 600; }

/* Homepage solutions matrix section */
.section-solutions {
  padding: 100px 0;
  background: linear-gradient(to bottom, #fff 0%, var(--bg-alt) 100%);
}
.section-solutions .solutions-grid { margin-top: 48px; }
.section-solutions-cta {
  text-align: center;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 960px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-detail-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Inner-page responsive */
@media (max-width: 960px) {
  .about-highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .about-highlight:nth-child(3)::before,
  .about-highlight:nth-child(1)::before { display: none; }
  .about-culture-grid { grid-template-columns: 1fr; }
  .about-culture-item + .about-culture-item::before { display: none; }
  .about-culture-item { padding: 16px 8px; border-top: 1px solid var(--border); }
  .about-culture-item:first-child { border-top: none; }
  .about-subject-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
}
@media (max-width: 640px) {
  .inner-banner { padding: 56px 0 40px; }
  .inner-banner-title { font-size: 1.6rem; letter-spacing: 1px; }
  .inner-banner-subtitle { font-size: 0.95rem; }
  .about-story-panel { padding: 32px 20px; }
  .about-story-title { font-size: 1.3rem; }
  .about-story-p { font-size: 0.92rem; line-height: 1.8; }
  .about-history-heading,
  .about-distribution-heading { font-size: 1.3rem; }
  .about-slogan-text { font-size: 1.3rem; letter-spacing: 3px; }
  .about-subject-card { padding: 24px 18px; }
  .about-subject-card dl { grid-template-columns: 90px 1fr; font-size: 0.88rem; }
}

/* =============================================
   TF ERP Design System Refresh
   Source: sistema.md
   ============================================= */
:root {
  --font-sans: "Inter", "Noto Sans SC", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-title: "Satoshi", "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --color-blue-700: #002ccb;
  --color-blue-600: #063ddb;
  --color-blue-500: #2457f5;
  --color-navy-950: #111936;
  --color-navy-800: #202a50;
  --color-cyan-400: #18d8f2;
  --color-white: #ffffff;
  --color-gray-50: #f7f7f8;
  --color-gray-100: #efeff2;
  --color-gray-200: #dee2ec;
  --color-gray-400: #a9b0c3;
  --color-gray-600: #66708c;
  --color-gray-900: #181d35;
  --color-green-500: #46b946;
  --color-yellow-500: #f2b21b;
  --color-red-500: #ff3b30;
  --color-whatsapp: #25d366;

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 72px;
  --space-4xl: 96px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 32px rgba(17, 25, 54, .08);
  --shadow-card: 0 4px 16px rgba(17, 25, 54, .06);

  --primary: var(--color-blue-700);
  --primary-light: var(--color-blue-500);
  --primary-dark: var(--color-navy-950);
  --accent: var(--color-cyan-400);
  --accent-light: #dffaff;
  --accent-dark: #079bb1;
  --bg: var(--color-gray-50);
  --bg-alt: var(--color-gray-100);
  --bg-dark: var(--color-navy-950);
  --text: var(--color-gray-900);
  --text-secondary: var(--color-gray-600);
  --text-light: var(--color-gray-400);
  --border: var(--color-gray-200);
  --border-light: #dde3f2;
  --shadow-sm: var(--shadow-card);
  --shadow-md: var(--shadow-soft);
  --shadow-lg: 0 18px 46px rgba(17, 25, 54, .12);
  --shadow-xl: 0 28px 70px rgba(17, 25, 54, .18);
  --font-cn: var(--font-sans);
  --font-en: var(--font-sans);
  --transition: 180ms ease;
}

body {
  font-family: var(--font-sans);
  background: var(--color-gray-50);
  color: var(--color-gray-900);
  line-height: 1.55;
}

.container {
  width: min(1180px, calc(100% - 80px));
  max-width: none;
  padding: 0;
}

.nav {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(222, 226, 236, .72);
  box-shadow: 0 10px 34px rgba(17, 25, 54, .05);
}

.nav-inner {
  height: 72px;
  gap: 28px;
}

.nav-links {
  gap: 18px;
}

.nav-links a {
  color: var(--color-navy-950);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-dropdown-col a:hover,
.lang-menu a:hover,
.lang-menu a.active {
  color: var(--color-blue-700);
}

.nav-links a::after,
.nav-links li.nav-dropdown > a::before {
  background: var(--color-blue-700);
}

.nav-cta,
.nav-login,
.btn {
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.nav-cta {
  background: var(--color-blue-700);
  padding: 10px 20px !important;
  box-shadow: 0 10px 24px rgba(0, 44, 203, .16);
}

.nav-login {
  border-color: var(--color-blue-700);
  color: var(--color-blue-700) !important;
}

.btn {
  min-height: 46px;
  padding: 0 26px;
  border-width: 1px;
}

.btn-primary {
  background: var(--color-blue-700);
  border-color: var(--color-blue-700);
}

.btn-primary:hover,
.nav-cta:hover {
  background: var(--color-blue-600);
  border-color: var(--color-blue-600);
  box-shadow: 0 14px 30px rgba(0, 44, 203, .2);
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-blue-700);
  border-color: rgba(0, 44, 203, .32);
}

.btn-ghost {
  background: rgba(255, 255, 255, .8);
  color: var(--color-navy-950);
  border-color: rgba(222, 226, 236, .82);
}

.hero {
  min-height: 92vh;
  padding: 132px 0 96px;
  background: var(--color-navy-950);
  color: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 25, 54, .94) 0%, rgba(17, 25, 54, .78) 44%, rgba(17, 25, 54, .38) 100%),
    url("../../img/about/about_2.png") center / cover no-repeat;
  opacity: .96;
}

.hero-bg-pattern {
  background:
    linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%, #000 100%);
  opacity: .22;
}

.hero-inner {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: 64px;
}

.hero-badge,
.section-tag,
.inner-banner-tag {
  border-radius: var(--radius-pill);
  color: var(--color-blue-700);
  background: rgba(24, 216, 242, .14);
  border: 1px solid rgba(24, 216, 242, .32);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.hero-badge {
  color: var(--color-cyan-400);
  background: rgba(24, 216, 242, .12);
}

.hero-title {
  color: var(--color-white);
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-subtitle-brand {
  color: var(--color-cyan-400);
  font-weight: 800;
}

.hero-subtitle,
.hero-stat-label {
  color: rgba(255, 255, 255, .76);
}

.hero-stat-number {
  color: var(--color-cyan-400);
}

.hero-code-block {
  border-radius: var(--radius-xl);
  background: rgba(17, 25, 54, .92);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-xl);
}

.section,
.section-features,
.section-process,
.section-trust,
.solutions-intro,
.solutions-category,
.pricing-faq,
.faq-section,
.legal-content {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.section:nth-of-type(even),
.section-features,
.section-why,
.about-subject,
.pricing-faq,
.faq-section,
.solutions-category:nth-of-type(even),
.legal-content {
  background: var(--color-gray-50);
}

.section:nth-of-type(odd),
.section-problems,
.section-scenarios,
.section-process,
.section-trust,
.solutions-intro,
.about-highlights,
.about-story,
.about-culture,
.about-history,
.about-distribution,
.about-slogan {
  background: var(--color-white);
}

.section-header {
  max-width: 820px;
}

.section-title,
.inner-banner-title {
  color: var(--color-navy-950);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.section-title {
  font-size: clamp(28px, 3vw, 42px);
}

.section-desc,
.solutions-intro p,
.inner-banner-subtitle,
.legal-content p,
.legal-content li {
  color: var(--color-gray-600);
}

.problem-card,
.feature-card,
.scenario-card,
.why-card,
.arch-card,
.trust-card,
.case-card,
.pricing-card,
.pricing-faq-item,
.faq-item,
.solution-card,
.solution-detail-side,
.about-story-panel,
.about-subject-card {
  background: var(--color-white);
  border: 1px solid rgba(222, 226, 236, .8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.problem-card:hover,
.feature-card:hover,
.scenario-card:hover,
.why-card:hover,
.arch-card:hover,
.trust-card:hover,
.case-card:hover,
.pricing-card:hover,
.solution-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 44, 203, .35);
  box-shadow: var(--shadow-soft);
}

.feature-icon-wrap,
.problem-icon,
.scenario-icon,
.why-icon,
.arch-icon {
  background: #eef7ff;
  border-radius: var(--radius-lg);
}

.feature-icon-wrap svg,
.problem-icon svg,
.scenario-icon svg,
.why-icon svg,
.arch-icon svg {
  color: var(--color-blue-700);
  stroke: var(--color-blue-700);
}

.feature-number,
.case-logo span,
.about-highlight-num,
.pricing-price,
.solutions-category-header h2,
.solution-detail-info h2,
.legal-content h2 {
  color: var(--color-blue-700);
}

.feature-list li::before,
.pricing-list li::before,
.solution-detail-info ul li::before,
.cta-benefit::before {
  color: var(--color-green-500);
}

.inner-page {
  background: var(--color-gray-50);
}

.inner-banner {
  padding: 136px 0 88px;
  background: var(--color-gray-50);
}

.inner-banner::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(24, 216, 242, .22), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 239, 242, .88));
}

.inner-banner-inner {
  text-align: left;
  max-width: 860px;
}

.inner-banner-title {
  font-size: clamp(34px, 4vw, 50px);
  text-transform: uppercase;
}

.inner-banner-subtitle {
  font-size: 17px;
  line-height: 1.6;
  margin-left: 0;
}

.inner-breadcrumb {
  justify-content: flex-start;
  color: var(--color-gray-600);
}

.cases-grid,
.pricing-grid,
.solutions-grid,
.about-highlights-grid,
.about-subject-grid {
  gap: var(--space-lg);
}

.pricing-card {
  padding: 32px 26px;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--color-cyan-400);
  background: linear-gradient(180deg, rgba(24, 216, 242, .2), #fff 34%);
  box-shadow: 0 20px 48px rgba(0, 44, 203, .16);
}

.pricing-card.featured::before {
  background: var(--color-cyan-400);
  color: var(--color-navy-950);
  border-radius: 0 0 0 var(--radius-md);
  font-weight: 800;
}

.pricing-note {
  background: var(--color-white);
  border-color: rgba(222, 226, 236, .9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.faq-category-title {
  color: var(--color-navy-950);
  border-bottom-color: var(--color-gray-200);
}

.faq-item summary {
  color: var(--color-navy-950);
  font-weight: 700;
}

.faq-item summary::after {
  color: var(--color-blue-700);
}

.faq-item .faq-answer {
  color: var(--color-gray-600);
  background: var(--color-white);
}

.section-cta,
.footer {
  background: var(--color-blue-700);
}

.cta-inner {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-xl);
}

.cta-title,
.cta-desc {
  color: var(--color-white);
}

.footer {
  color: rgba(255, 255, 255, .76);
}

.footer-inner {
  gap: var(--space-3xl);
}

.footer-col h4 {
  color: var(--color-white);
}

.footer-col li,
.footer-col a,
.footer-desc {
  color: rgba(255, 255, 255, .72);
}

.footer-bottom {
  background: rgba(17, 25, 54, .16);
  border-top-color: rgba(255, 255, 255, .18);
}

.footer-bottom p,
.footer-icp a {
  color: rgba(255, 255, 255, .58);
}

.legal-content {
  background: var(--color-white);
  max-width: min(860px, calc(100% - 80px));
  margin: 72px auto 96px;
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.legal-meta {
  background: var(--color-gray-50);
  border-color: var(--color-gray-200);
  border-radius: var(--radius-md);
}

@media (max-width: 1024px) {
  .container {
    width: min(100% - 40px, 1180px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: 0;
  }

  .nav-links {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 40px, 1180px);
  }

  .hero {
    padding: 108px 0 64px;
  }

  .hero-title,
  .inner-banner-title {
    font-size: clamp(34px, 12vw, 44px);
  }

  .inner-banner-title {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero-actions {
    gap: 10px;
  }

  .inner-banner {
    padding: 112px 0 56px;
  }

  .legal-content {
    max-width: calc(100% - 40px);
    margin: 40px auto 64px;
    padding: 28px 20px;
  }
}

/* Polish pass for all pages */
.section-header {
  margin: 0 0 56px;
  text-align: left;
}

.section-tag,
.inner-banner-tag,
.hero-badge {
  padding: 7px 16px;
  text-transform: uppercase;
}

.section-title {
  max-width: 920px;
  margin-inline: 0;
}

.section-desc {
  max-width: 700px;
  line-height: 1.7;
  margin-inline: 0;
}

.solutions-intro {
  text-align: left;
}

.solutions-intro p {
  margin-left: 0;
  margin-right: 0;
}

.section-solutions-cta,
.pricing-faq h2 {
  text-align: left;
}

.hero-content {
  max-width: 720px;
}

.hero-actions .btn {
  box-shadow: 0 12px 28px rgba(17, 25, 54, .14);
}

.hero .btn-outline,
.hero .btn-ghost {
  border-color: rgba(255, 255, 255, .34);
}

.hero .btn-outline {
  background: rgba(255, 255, 255, .96);
}

.hero .btn-ghost {
  color: var(--color-white);
  background: rgba(255, 255, 255, .12);
}

.hero .stat-divider {
  background: rgba(255, 255, 255, .26);
}

.hero .stat-label {
  color: rgba(255, 255, 255, .72);
}

.hero .stat-number {
  color: var(--color-cyan-400);
}

.code-header {
  background: rgba(255, 255, 255, .08);
}

.code-body {
  scrollbar-color: rgba(255, 255, 255, .28) transparent;
}

.problems-grid,
.features-grid,
.scenarios-grid,
.trust-grid,
.solutions-grid,
.cases-grid {
  align-items: stretch;
}

.problem-card,
.feature-card,
.scenario-card,
.trust-card,
.case-card,
.solution-card,
.pricing-card {
  height: 100%;
}

.problem-card h3,
.feature-card h3,
.scenario-card h3,
.case-title,
.solution-card .solution-name,
.pricing-name {
  color: var(--color-navy-950);
  line-height: 1.2;
}

.problem-card p,
.feature-list li,
.scenario-card p,
.case-desc,
.solution-card .solution-tagline,
.solution-card ul li,
.pricing-tagline,
.pricing-list li {
  color: var(--color-gray-600);
}

.feature-card {
  isolation: isolate;
}

.feature-number {
  color: rgba(0, 44, 203, .08);
  z-index: -1;
}

.feature-list li {
  padding-left: 22px;
  line-height: 1.55;
}

.feature-list li::before {
  top: .58em;
  width: 7px;
  height: 7px;
  background: var(--color-green-500);
}

.consequence-card {
  background: linear-gradient(135deg, #fff 0%, #fff6f5 100%);
  border-color: rgba(255, 59, 48, .2);
  box-shadow: var(--shadow-card);
}

.consequence-card h3,
.consequence-x,
.consequence-item {
  color: var(--color-red-500);
}

.consequence-solution {
  border-top-color: rgba(255, 59, 48, .16);
  color: var(--color-blue-700);
  font-weight: 700;
}

.scenario-tag,
.solution-tag.tag-logistics {
  background: rgba(24, 216, 242, .14);
  color: var(--accent-dark);
}

.solution-tag.tag-data {
  background: rgba(242, 178, 27, .16);
  color: #8a6204;
}

.solution-tag.tag-core {
  background: rgba(0, 44, 203, .08);
  color: var(--color-blue-700);
}

.solution-tag.tag-new {
  background: var(--color-cyan-400);
  color: var(--color-navy-950);
}

.process-timeline {
  max-width: 780px;
}

.process-line {
  background: linear-gradient(to bottom, var(--color-blue-700), var(--color-cyan-400));
}

.step-number {
  background: var(--color-white);
  border-color: var(--color-blue-700);
  color: var(--color-blue-700);
  box-shadow: 0 0 0 8px var(--color-gray-50);
}

.step-content {
  background: var(--color-white);
  border: 1px solid rgba(222, 226, 236, .78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 18px 22px;
  width: 100%;
}

.step-content h3 {
  color: var(--color-navy-950);
}

.step-content p {
  color: var(--color-gray-600);
  line-height: 1.6;
}

.why-group {
  background: var(--color-white);
  border-color: rgba(222, 226, 236, .8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.why-group-title {
  color: var(--color-blue-700);
  border-bottom-color: var(--color-gray-200);
}

.why-item {
  color: var(--color-navy-950);
}

.why-check {
  background: rgba(70, 185, 70, .12);
  color: var(--color-green-500);
}

.section-arch {
  background:
    linear-gradient(135deg, rgba(17, 25, 54, .98), rgba(32, 42, 80, .98)),
    radial-gradient(circle at 78% 18%, rgba(24, 216, 242, .28), transparent 28%);
}

.section-arch .section-tag {
  color: var(--color-cyan-400);
  border-color: rgba(24, 216, 242, .28);
}

.arch-node,
.arch-node-api,
.arch-node-small {
  border-radius: var(--radius-lg);
  border-color: rgba(255, 255, 255, .18);
}

.arch-node-api {
  background: linear-gradient(135deg, rgba(0, 44, 203, .76), rgba(24, 216, 242, .22));
}

.arch-icon {
  background: rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
}

.trust-card {
  text-align: left;
}

.trust-number {
  color: var(--color-blue-700);
  font-size: clamp(40px, 5vw, 64px);
}

.section-solutions {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
}

.solutions-category-header {
  border-bottom-color: var(--color-gray-200);
}

.solutions-category-header .sub {
  color: var(--color-gray-600);
}

.solution-card .solution-action,
.legal-content a {
  color: var(--color-blue-700);
  font-weight: 700;
}

.solution-card .solution-action::after {
  color: currentColor;
}

.inner-banner {
  overflow: hidden;
}

.inner-banner::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: -44px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(0, 44, 203, .12);
  border-radius: 36px;
  transform: rotate(12deg);
  pointer-events: none;
}

.inner-breadcrumb a {
  color: var(--color-blue-700);
  font-weight: 700;
}

.about-highlights-grid,
.about-culture-grid {
  background: var(--color-white);
  border: 1px solid rgba(222, 226, 236, .82);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: var(--space-xl);
}

.about-highlight + .about-highlight::before,
.about-culture-item + .about-culture-item::before {
  background: var(--color-gray-200);
}

.about-story-panel::before {
  background: linear-gradient(90deg, var(--color-blue-700), var(--color-cyan-400));
}

.about-history-img,
.about-distribution-img,
section[style*="background:#fff"] img {
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-soft);
}

.case-meta span {
  background: var(--color-gray-50);
  color: var(--color-gray-600);
  border: 1px solid var(--color-gray-200);
}

.case-metrics {
  border-top-color: var(--color-gray-200);
}

.case-metric .num {
  color: var(--color-blue-700);
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-divider {
  background: var(--color-gray-200);
}

.pricing-faq-item {
  padding: 24px 28px;
}

.faq-category {
  max-width: 920px;
  margin-inline: auto;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  padding: 22px 28px;
}

.faq-item .faq-answer {
  padding: 0 28px 24px;
}

.legal-content h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  margin-top: 42px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  color: var(--color-navy-950);
  font-size: 18px;
}

.legal-content strong {
  color: var(--color-navy-950);
}

.footer {
  padding-top: 72px;
}

.footer-inner {
  border-bottom-color: rgba(255, 255, 255, .16);
}

.footer-col a:hover,
.footer-icp a:hover {
  color: var(--color-white);
}

@media (max-width: 1024px) {
  .scenarios-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .inner-banner::after {
    width: 180px;
    height: 180px;
    opacity: .6;
  }
}

@media (max-width: 640px) {
  .section,
  .section-features,
  .section-process,
  .section-trust,
  .section-solutions,
  .solutions-intro,
  .solutions-category,
  .pricing-faq,
  .faq-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-header {
    margin-bottom: 36px;
    text-align: left;
  }

  .hero-stats {
    align-items: flex-start;
    gap: 18px;
  }

  .stat-divider {
    display: none;
  }

  .scenarios-grid,
  .trust-grid,
  .about-highlights-grid {
    grid-template-columns: 1fr;
  }

  .process-line {
    left: 22px;
  }

  .process-step {
    gap: 18px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    box-shadow: 0 0 0 6px var(--color-gray-50);
  }

  .step-content {
    padding: 16px;
  }

  .about-highlights-grid,
  .about-culture-grid {
    padding: 20px;
  }

  .faq-item summary {
    padding: 18px 20px;
  }

  .faq-item .faq-answer {
    padding: 0 20px 20px;
  }
}

/* Contrast fix: CTA and architecture sections */
.section.section-cta {
  background:
    linear-gradient(135deg, rgba(17, 25, 54, .96) 0%, rgba(0, 44, 203, .94) 54%, rgba(17, 25, 54, .98) 100%) !important;
  color: var(--color-white);
}

.section.section-cta .cta-inner {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 24px 70px rgba(17, 25, 54, .28);
  padding: clamp(32px, 5vw, 64px);
  overflow: hidden;
}

.section.section-cta .cta-title,
.section.section-cta .cta-desc,
.section.section-cta .cta-benefit {
  color: var(--color-white);
}

.section.section-cta .cta-desc,
.section.section-cta .cta-benefit {
  opacity: .9;
}

.section.section-cta .cta-qr-wrap {
  background: var(--color-white);
  color: var(--color-navy-950);
}

.section.section-cta .cta-qr-wrap h3 {
  color: var(--color-navy-950);
}

.section.section-cta .cta-qr-desc,
.section.section-cta .cta-qr-hint {
  color: var(--color-gray-600);
}

.footer .footer-bottom {
  background: transparent;
  border-top-color: rgba(255, 255, 255, .16);
  width: 100%;
  margin: 0;
}

.footer .footer-bottom p,
.footer .footer-icp a {
  color: rgba(255, 255, 255, .74);
}

.section.section-arch {
  background:
    linear-gradient(135deg, rgba(17, 25, 54, .98) 0%, rgba(32, 42, 80, .98) 58%, rgba(0, 44, 203, .9) 100%) !important;
  color: var(--color-white);
}

.section.section-arch .section-title,
.section.section-arch .section-desc {
  color: var(--color-white);
}

.section.section-arch .section-desc {
  opacity: .78;
}

.section.section-arch .section-tag {
  background: rgba(24, 216, 242, .12);
  border-color: rgba(24, 216, 242, .35);
  color: var(--color-cyan-400);
}

.section.section-arch .arch-node {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .92);
}

.section.section-arch .arch-node-api {
  background: linear-gradient(135deg, var(--color-blue-600), rgba(24, 216, 242, .42));
  color: var(--color-white);
}

.section.section-arch .arch-arrow,
.section.section-arch .arch-side-arrow {
  color: rgba(255, 255, 255, .52);
}

.section.section-arch .arch-icon svg {
  color: var(--color-white);
  stroke: var(--color-white);
}

.solution-card.solution-card-dark {
  background: linear-gradient(135deg, var(--color-navy-950), var(--color-blue-700));
  border-color: rgba(255, 255, 255, .16);
  color: var(--color-white);
}

.solution-card.solution-card-dark .solution-name,
.solution-card.solution-card-dark .solution-tagline,
.solution-card.solution-card-dark ul li,
.solution-card.solution-card-dark .solution-action {
  color: var(--color-white);
}

.solution-card.solution-card-dark .solution-tag {
  background: rgba(24, 216, 242, .18);
  color: var(--color-cyan-400);
}

.solution-card.solution-card-dark ul li::before {
  color: var(--color-cyan-400);
}

h1,
h2,
h3,
.hero-title,
.hero-subtitle-brand,
.section-title,
.inner-banner-title,
.about-story-title,
.about-culture-title,
.about-subject-card h3,
.case-title,
.partner-logos h3,
.pricing-name,
.pricing-faq h2,
.faq-category-title,
.legal-content h2,
.legal-content h3,
.solutions-category-header h2,
.solution-card .solution-name,
.solution-detail-info h2,
.solution-detail-info h3,
.cta-title,
.cta-qr-wrap h3,
.step-content h3,
.why-group-title,
.trust-number {
  font-family: var(--font-title);
}

/* Header dropdown animation refinement */
@media (min-width: 1025px) {
  .nav-links li.nav-dropdown .nav-dropdown-menu {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.98);
    transform-origin: top right;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 0s linear 180ms;
    will-change: opacity, transform;
  }

  .nav-links li.nav-dropdown:hover .nav-dropdown-menu,
  .nav-links li.nav-dropdown.open .nav-dropdown-menu {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .nav-links li.nav-dropdown:not(.lang-switcher) .nav-dropdown-menu {
    left: 50%;
    right: auto;
    width: min(920px, calc(100vw - 48px));
    min-width: 760px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 12px;
    padding: 28px 30px;
    transform: translate(-50%, 10px) scale(.98);
    transform-origin: top center;
  }

  .nav-links li.nav-dropdown:not(.lang-switcher):hover .nav-dropdown-menu,
  .nav-links li.nav-dropdown:not(.lang-switcher).open .nav-dropdown-menu {
    transform: translate(-50%, 0) scale(1);
  }

  .nav-dropdown-menu::before {
    top: -18px;
    height: 18px;
  }

  .nav-dropdown-menu.lang-menu {
    left: auto;
    right: 0;
    transform-origin: top right;
  }

  .lang-menu a,
  .nav-dropdown-col a {
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  }

  .nav-dropdown-col {
    min-width: 0;
  }

  .nav-dropdown-title {
    min-height: 2.6em;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-gray-200);
    line-height: 1.35;
  }

  .nav-dropdown-col a {
    white-space: normal;
    line-height: 1.35;
    padding: 10px 12px;
  }

  .lang-menu a:hover,
  .nav-dropdown-col a:hover {
    transform: translateX(2px);
  }
}
