
:root {
  --primary: #004f9f;
  --primary-dark: #003a76;
  --accent: #ffb400;
  --bg: #f5f7fa;
  --text: #1f2933;
  --muted: #6b7280;
  --danger: #c53030;
  --success: #15803d;
  --border: #e5e7eb;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

body {

  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.5;
}

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

a:hover {
  text-decoration: underline;
}

header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}




.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-text-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-text-sub {
  font-size: 0.8rem;
  color: var(--muted);
    word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switcher {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.lang-switcher span {
  margin-right: 0.25rem;
}

.lang-switcher a {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.lang-switcher a.active {
  border-color: var(--primary);
  background: #eef2ff;
  color: #111827;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 79, 159, 0.18);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: #f3f4ff;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem 1.25rem;
}




section {
  margin-bottom: 3.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr);
  gap: 2.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 0.75rem 0;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 32rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  background: #e0edff;
  color: #102a43;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  border-radius: 20px;
  background: radial-gradient(circle at top left, #e0f2fe, #e5e7eb);
  min-height: 260px;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.hero-visual-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.hero-photo {
  width: 100%;
  max-height: 220px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  margin-bottom: 0.75rem;
}

.hero-diagram {
  background: #0b1120;
  border-radius: 16px;
  padding: 1rem;
  color: #e5e7eb;
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
}

.hero-diagram-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-step {
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-step-title {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.hero-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  font-size: 0.7rem;
  margin-bottom: 0.15rem;
}

.hero-step-pill.green {
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
}

.hero-step-pill.yellow {
  background: rgba(234, 179, 8, 0.18);
  color: #fef9c3;
}

.hero-step-pill.red {
  background: rgba(239, 68, 68, 0.22);
  color: #fecaca;
}

.hero-step-text {
  font-size: 0.75rem;
  color: #e5e7eb;
}

.hero-diagram-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-metric {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

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

.section-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

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

.card {
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0.15rem 0;
  font-size: 0.9rem;
}

.simple-list {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0.4rem 0;
  font-size: 0.9rem;
}

.simple-list li {
  margin-bottom: 0.2rem;
}

.highlight {
  color: var(--danger);
  font-weight: 600;
}

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

.badge-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.stat-row strong {
  font-weight: 600;
}

.muted {
  color: var(--muted);
  font-size: 0.85rem;
}

.compat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.compat-item {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px dashed var(--border);
  font-size: 0.8rem;
  background: #f9fafb;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.spec-label {
  font-weight: 600;
}

.case {
  font-size: 0.9rem;
  border-left: 3px solid var(--primary);
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
}

.connector-photo {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-top: 0.4rem;
  object-fit: cover;
}

.explain-video {
  width: 100%;
  max-height: 320px;
  border-radius: 12px;
  background: #000;
  margin: 0.5rem 0 0.75rem 0;
  display: block;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 20px;
  padding: 1.6rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr);
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
}

.cta-section h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.35rem;
}

.cta-section p {
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(15, 23, 42, 0.3);
}

.cta-note {
  font-size: 0.8rem;
  color: #e5e7eb;
  max-width: 20rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.25rem 1.8rem 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

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

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

  .cta-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-inner {
    align-items: flex-start;
  }


  .nav-right {
    align-items: flex-start;
  }

  .lang-switcher {
    justify-content: flex-start;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .nav-actions .btn {
    white-space: normal;
    text-align: center;
  }

}

@media (max-width: 600px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .nav-inner {
    padding-inline: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-right {
    align-items: flex-start;
    width: 100%;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  main {
    padding-inline: 0.85rem;
  }

  footer {
    padding-inline: 0.85rem;
  }

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

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

  .cta-section {
    padding: 1.2rem 1rem;
  }
}
