:root {
  --bg: #f4f6fb;
  --bg-deep: #dfe9ff;
  --surface: #ffffff;
  --text: #1b2430;
  --muted: #5b6574;
  --primary: #e53935;
  --primary-deep: #c92b28;
  --line: #e2e8f2;
  --shadow: 0 20px 60px rgba(20, 41, 82, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, #fef6f0 0, transparent 40%),
    radial-gradient(circle at 95% 10%, #edf4ff 0, transparent 35%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(222, 229, 241, 0.8);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand img {
  width: 96px;
  height: auto;
}

.nav-download {
  text-decoration: none;
  color: var(--surface);
  background: var(--primary);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  transition: 0.2s ease;
}

.nav-download:hover {
  background: var(--primary-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 54px;
}

.hero-bg {
  position: absolute;
  inset: -80px 0 auto;
  height: 410px;
  background:
    linear-gradient(112deg, rgba(229, 57, 53, 0.12), rgba(84, 123, 255, 0.14)),
    linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 30px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #7f1513;
  background: #ffe4e3;
  border-radius: 999px;
}

.hero h1 {
  margin: 0;
  font-family: "Lexend", "Noto Sans SC", sans-serif;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: 0.2px;
}

.lead {
  margin: 16px 0 0;
  line-height: 1.75;
  color: var(--muted);
  font-size: 17px;
}

.cta-row {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--primary), #ff5a3f);
  box-shadow: 0 12px 30px rgba(229, 57, 53, 0.24);
}

.btn-ghost {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
}

.meta-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.hero-visual {
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(222, 229, 241, 0.8);
  box-shadow: var(--shadow);
  animation: floatIn 0.7s ease-out both;
}

.features {
  display: grid;
  gap: 22px;
  padding: 22px 0 28px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(22, 34, 62, 0.08);
  animation: riseIn 0.7s ease both;
}

.feature-card:nth-child(2) {
  animation-delay: 0.08s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.16s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.24s;
}

.feature-card h2 {
  margin: 0;
  font-size: clamp(24px, 3.1vw, 36px);
  line-height: 1.2;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.feature-card img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}

.feature-card.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.feature-card.reverse .text {
  order: 2;
}

.feature-card.reverse img {
  order: 1;
}

.download-panel {
  padding: 30px 0 70px;
}

.panel-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: linear-gradient(100deg, #16233d, #2f4b7d);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
}

.panel-inner h2 {
  margin: 8px 0 8px;
  font-size: clamp(24px, 3vw, 38px);
}

.panel-inner p {
  margin: 0;
  opacity: 0.86;
}

.site-footer {
  background: #0f1726;
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-inner nav {
  display: flex;
  gap: 16px;
}

.footer-inner a {
  color: #c9d8ff;
  text-decoration: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-card,
  .feature-card.reverse {
    grid-template-columns: 1fr;
  }

  .feature-card.reverse .text,
  .feature-card.reverse img {
    order: unset;
  }

  .panel-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .nav-wrap {
    min-height: 66px;
  }

  .brand span {
    display: none;
  }

  .nav-download {
    padding: 9px 14px;
    font-size: 13px;
  }

  .hero {
    padding-top: 56px;
  }

  .feature-card,
  .panel-inner {
    border-radius: 16px;
    padding: 20px;
  }

  .cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    padding: 14px 0;
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
  }
}
