:root {
  --background: #f8f8f9;
  --foreground: #111217;
  --muted: #5c5f66;
  --accent: #920016;
  --accent-dark: #6b0010;
  --border: #e1e2e6;
  --card: #ffffff;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.metrics {
  background: #0f1015;
  color: #e9ecf5;
}

.metrics h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 2.5rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.metric-card {
  border-radius: 24px;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(146, 0, 22, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  min-height: 180px;
}

.metric-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fffcf9;
}

.metric-label {
  font-weight: 600;
  margin: 0;
  color: #f0f2f9;
}

.metric-note {
  margin-top: 0.4rem;
  color: rgba(233, 236, 245, 0.8);
  font-size: 0.95rem;
}

.section.highlights {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

h1, h2, h3 {
  line-height: 1.2;
  color: var(--foreground);
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 0 0 1.5rem;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.plain-list {
  padding-left: 1rem;
  color: var(--muted);
}

.plain-list li {
  margin-bottom: 0.4rem;
}

.bullet-list {
  padding-left: 1.2rem;
  margin: 0.6rem 0 1rem;
  color: var(--muted);
}

.bullet-list li {
  margin-bottom: 0.3rem;
}

.hero {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 5rem;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 0.2rem 0.75rem;
  background: rgba(146, 0, 22, 0.08);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

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

.btn.primary:hover {
  background: var(--accent-dark);
}

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

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

.highlights {
  background: radial-gradient(circle at top left, rgba(146, 0, 22, 0.08), transparent 55%),
              radial-gradient(circle at bottom right, rgba(12, 14, 20, 0.06), transparent 45%);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.highlights-grid article {
  padding: 1.8rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  min-height: 220px;
}

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(146, 0, 22, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-tile svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-tile svg rect,
.icon-tile svg circle,
.icon-tile svg path {
  fill: none;
}

.hero-visual {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(146, 0, 22, 0.16), transparent 60%),
              radial-gradient(circle at 80% 0, rgba(12, 14, 20, 0.12), transparent 55%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 60px rgba(17, 18, 23, 0.1);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 18, 23, 0.25), rgba(146, 0, 22, 0.15));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.diagram-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  position: relative;
  text-align: center;
  box-shadow: 0 20px 40px rgba(17, 18, 23, 0.08);
}

.diagram-card img {
  width: 100%;
  max-width: 520px;
  display: inline-block;
}

.product-cards {
  background: #f5f5f8;
}

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

@media (max-width: 700px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-grid article {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: 0 18px 30px rgba(17, 18, 23, 0.05);
}

.product-grid h2,
.product-grid h3 {
  text-align: left;
}

.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 45px rgba(15, 16, 20, 0.15);
}

.features {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.feature-grid article {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  min-height: 220px;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(146, 0, 22, 0.05);
}

.icon-circle svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.engine {
  background: #0f1015;
  color: #e8ebf5;
}

.engine-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.engine-header .badge {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.engine-header h2 {
  color: #fff;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.engine-grid article {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.engine-grid h3 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.engine-grid p {
  color: rgba(232, 235, 245, 0.85);
  margin: 0;
}

.ui-showcase {
  background: #fff;
}

.ui-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.ui-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ui-grid figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 15px 30px rgba(14, 16, 20, 0.08);
  display: flex;
  flex-direction: column;
}

.ui-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.ui-grid figcaption {
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.ui-panels {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ui-panels article {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 18, 23, 0.07);
}

.ui-panels ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.ui-panels li {
  margin-bottom: 0.35rem;
}

.ui-panels .note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.reports {
  background: #f7f7fa;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.reports-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reports-right {
  display: grid;
  gap: 1.2rem;
}

.reports-right figure {
  margin: 0;
  border-radius: 18px;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 25px 40px rgba(10, 10, 15, 0.08);
}

.reports-right img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.reports-right figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.compliance-card {
  border-radius: 20px;
  border: 1px solid rgba(146, 0, 22, 0.25);
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(146, 0, 22, 0.08), rgba(255, 255, 255, 0.7));
  color: var(--foreground);
}

.compliance-card .badge {
  display: inline-flex;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(146, 0, 22, 0.15);
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.compliance-card .muted {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.compliance-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.compliance-metrics div {
  padding: 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(146, 0, 22, 0.1);
  text-align: center;
}

.compliance-metrics span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.compliance-metrics strong {
  font-size: 1.4rem;
}

@media (max-width: 720px) {
  .compliance-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.compliance-card ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.compliance-card li {
  margin-bottom: 0.4rem;
}

.importance {
  background: #f3f3f4;
}

.emphasized li {
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.bullet-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(146, 0, 22, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(146, 0, 22, 0.07);
  flex-shrink: 0;
}

.bullet-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.architecture {
  background: var(--card);
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.arch-block {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
}

.architecture-visual {
  position: relative;
  padding: 2rem;
  border: 1px dashed var(--border);
  border-radius: 20px;
  background: #fafafa;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.architecture-visual .node {
  position: relative;
  display: inline-flex;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
}

.architecture-visual .node::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 70px;
  background: rgba(146, 0, 22, 0.4);
  top: 50%;
  left: calc(100% + 0.5rem);
  transform: translateY(-50%);
}

.architecture-visual .node:last-child::after {
  display: none;
}

@media (max-width: 720px) {
  .architecture-visual {
    flex-direction: column;
    align-items: flex-start;
  }

  .architecture-visual .node::after {
    width: 2px;
    height: 32px;
    left: 50%;
    top: calc(100% + 0.5rem);
    transform: translateX(-50%);
  }
}

.footer {
  background: #fff;
  color: #1b1b1f;
  padding: 1.5rem 0;
  border-top: 1px solid #e1e2e6;
}

.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-simple a {
  color: var(--accent);
}

.footer-simple img {
  height: 44px;
  width: auto;
}

@media (max-width: 600px) {
  .hero-content {
    gap: 2rem;
  }

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

  .architecture-visual .node {
    display: block;
    margin: 0.5rem 0;
  }

  .architecture-visual .node + .node {
    margin-left: 0;
  }
}
