:root {
  --black: #101216;
  --panel: #171b21;
  --paper: #f7f8f6;
  --ink: #14171b;
  --muted: #606b76;
  --line: rgba(255,255,255,0.12);
  --orange: #f16300;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Aptos, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
.topbar {
  position: relative;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  color: #fff;
  background: #101216;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.brand {
  display: flex;
  align-items: center;
  width: clamp(210px, 22vw, 292px);
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d8dee5;
  font-size: 14px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.lang-toggle-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #d8dee5;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.lang-toggle span {
  color: var(--orange);
}
.lang-toggle:hover {
  border-color: rgba(241,99,0,0.62);
  color: #fff;
}
.navlinks a:first-child {
  color: var(--orange);
  font-weight: 800;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 6vw 72px;
  color: #fff;
  background-color: #101216;
  background-image:
    linear-gradient(90deg, rgba(16,18,22,0.42) 0%, rgba(16,18,22,0.22) 42%, rgba(16,18,22,0.10) 72%, rgba(16,18,22,0.18) 100%),
    linear-gradient(180deg, rgba(16,18,22,0.10), rgba(16,18,22,0.22)),
    var(--hero-bg, url("optimized/amc-hero-background-v2.webp"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 96px),
    radial-gradient(circle at 74% 34%, rgba(241,99,0,0.18), transparent 32%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}
.hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #c9d1da;
  font-size: 19px;
  line-height: 1.65;
}
.section {
  padding: 72px 6vw;
}
.section-head {
  max-width: 850px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid #d8dee5;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255,255,255,0.84), rgba(255,255,255,0.84)),
    var(--bg) center / cover,
    #fff;
}
.card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--orange);
}
.card strong {
  display: inline-flex;
  margin-bottom: 62px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #101216;
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.16;
}
.card p {
  margin: 0;
  color: #56606b;
  font-size: 15px;
  line-height: 1.65;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.media-card {
  min-height: 310px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(16,18,22,0.1), rgba(16,18,22,0.82)),
    var(--bg) center / cover,
    #171b21;
}
.media-card:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: inherit;
  pointer-events: none;
}
.media-card small {
  width: max-content;
  margin-bottom: 92px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(16,18,22,0.84);
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.media-card h3 {
  margin: 0 0 8px;
  font-size: 25px;
}
.media-card p {
  margin: 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.55;
}
.data-table {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  border: 1px solid #d8dee5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.data-table div {
  padding: 18px;
  border-right: 1px solid #e6ebf0;
  border-bottom: 1px solid #e6ebf0;
  color: #56606b;
}
.data-table div:nth-child(4n) { border-right: 0; }
.data-table .head {
  background: #101216;
  color: #fff;
  font-weight: 900;
}
.data-table b {
  color: var(--ink);
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.profile {
  min-height: 280px;
  padding: 24px;
  border: 1px solid #d8dee5;
  border-radius: 8px;
  background: #fff;
}
.profile .avatar {
  width: 74px;
  height: 74px;
  margin-bottom: 40px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(241,99,0,0.78), rgba(16,18,22,0.9)),
    var(--bg) center / cover;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.72);
}
.profile h3 {
  margin: 0 0 8px;
  font-size: 23px;
}
.profile p {
  margin: 0;
  color: #56606b;
  line-height: 1.6;
}
.note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 5px solid var(--orange);
  background: #fff;
  color: #56606b;
  line-height: 1.65;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 6vw;
  color: #aeb8c2;
  background: #101216;
}
.footer img {
  width: 220px;
  max-width: 70vw;
}
@media (max-width: 900px) {
  .navlinks { display: none; }
  .top-actions { gap: 12px; }
  .lang-toggle-center {
    position: static;
    transform: none;
    margin-left: auto;
  }
  .grid,
  .grid.two,
  .media-grid,
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .data-table { grid-template-columns: 1fr 1fr; }
  .data-table div:nth-child(4n) { border-right: 1px solid #e6ebf0; }
  .data-table div:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .topbar,
  .hero,
  .section,
  .footer { padding-inline: 20px; }
  .topbar { min-height: 94px; }
  .brand { width: 198px; }
  .grid,
  .grid.two,
  .media-grid,
  .profile-grid,
  .data-table { grid-template-columns: 1fr; }
  .data-table div { border-right: 0; }
  .footer { flex-direction: column; align-items: flex-start; }
}
