:root {
  --ink: #213246;
  --muted: #7a8792;
  --line: #e4e9ef;
  --navy: #263e55;
  --red: #ef473a;
  --red-dark: #df382d;
  --blue: #418fd6;
  --shadow: 0 16px 36px rgba(35, 55, 78, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #ffffff;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  height: 68px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(40, 62, 86, 0.08);
}

.header-inner {
  width: min(940px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 260px;
  gap: 14px;
  white-space: nowrap;
}

.brand-mark {
  color: #24a4ef;
  font-size: 13px;
  font-weight: 700;
}

.java-tile {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  overflow: hidden;
}

.logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 23px;
  font-weight: 800;
  color: #2d4054;
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: #d4dce5;
}

.brand-subtitle {
  color: #8b96a1;
  font-size: 15px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  color: #596779;
  font-size: 14px;
  white-space: nowrap;
}

.nav a {
  transition: color 0.16s ease;
}

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

.nav .download-pill {
  min-width: 184px;
  padding: 15px 38px;
  color: #fff;
  background: var(--red);
  border-radius: 26px;
  box-shadow: 0 8px 18px rgba(239, 71, 58, 0.24);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.nav .download-pill:hover {
  color: #fff;
  background: var(--red-dark);
}

.notice {
  min-height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: #ffffff;
  background: #2f465d;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.hero-wrap {
  padding: 17px 16px 0;
  background: linear-gradient(180deg, #f7f8fa 0, #ffffff 76%);
}

.hero {
  width: min(980px, 100%);
  min-height: 436px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 470px;
  align-items: center;
  gap: 42px;
  padding: 58px 42px 54px 52px;
  border-radius: 15px;
  overflow: hidden;
  background:
    linear-gradient(96deg, rgba(185, 189, 138, 0.86) 0%, rgba(126, 169, 183, 0.9) 43%, rgba(65, 143, 214, 0.98) 100%),
    #82afc1;
  box-shadow: var(--shadow);
}

.hero-content {
  position: absolute;
  left: 50px;
  top: 50px;
}

.hero-copy {
  min-width: 0;
}

.hero-title-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 27px;
  align-items: start;
}

.hero-icon {
  width: 82px;
  height: 82px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  box-shadow: 0 9px 16px rgba(33, 50, 70, 0.2);
  overflow: hidden;
}

.hero-content-icon {
  position: absolute;
}

.hero h1 {
  margin: -7px 0 0;
  color: #28394d;
  font-size: clamp(33px, 4vw, 43px);
  line-height: 1.25;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(36px, 4.4vw, 49px);
  letter-spacing: 0;
}

.hero .hero-heading {
  margin-left: 100px;
}

.hero .hero-heading-note {
  font-size: 22px;
}

.hero p {
  width: min(430px, 100%);
  margin: 31px 0 41px;
  color: rgba(56, 80, 94, 0.62);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  min-height: 52px;
  padding: 14px 32px;
  color: #fff;
  background: var(--red);
  border-radius: 26px;
  border: 0;
  box-shadow: 0 9px 18px rgba(239, 71, 58, 0.2);
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

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

.laptop {
  width: min(100%, 435px);
  margin: 18px 0 0 auto;
}

.hero-laptop {
  position: absolute;
  right: 50px;
}

.screen {
  position: relative;
  height: 264px;
  border: 8px solid #111111;
  border-bottom-width: 13px;
  border-radius: 12px 12px 4px 4px;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px #5d6d79;
}

.screen-content {
  height: 100%;
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: center;
  padding: 28px 25px;
}

.screen-logo {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-logo-img {
  display: block;
  width: min(150px, 100%);
  height: auto;
  object-fit: contain;
}

.java-word {
  color: #5c768f;
  font-size: clamp(58px, 5.6vw, 76px);
  font-weight: 400;
  line-height: 0.92;
  white-space: nowrap;
}

.java-word small {
  display: block;
  color: #f39b2b;
  font-size: 39px;
  font-weight: 800;
  text-align: right;
  padding-right: 9px;
}

.base {
  height: 13px;
  margin: -1px auto 0;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #324557, #1f2f40);
  box-shadow: inset 0 4px 7px rgba(255, 255, 255, 0.18);
}

.base::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
  background: rgba(255, 255, 255, 0.18);
}

.products {
  width: min(980px, calc(100% - 32px));
  margin: 84px auto 64px;
  text-align: center;
}

.products h2 {
  margin: 0;
  color: #24384c;
  font-size: 31px;
  font-weight: 900;
}

.products .lead {
  margin: 23px 0 58px;
  color: #7d8994;
  font-size: 15px;
  font-weight: 700;
}

.seo-highlights {
  width: min(980px, calc(100% - 32px));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.highlight-item {
  padding: 0 2px;
}

.highlight-item h2 {
  margin: 0 0 12px;
  color: #24384c;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 900;
}

.highlight-item p {
  margin: 0;
  color: #6f7e8a;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  text-align: left;
}

.card {
  min-height: 182px;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(35, 55, 78, 0.05);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  margin-bottom: 22px;
}

.card-icon {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.card-copy {
  min-width: 0;
}

.card-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #24384c;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
  line-height: 1.25;
}

.badge {
  color: #ff1616;
  font-size: inherit;
  font-weight: 900;
  line-height: inherit;
}

.card-desc {
  margin-top: 9px;
  color: #7f8a95;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 39px;
  padding: 0 20px;
  border-radius: 20px;
  color: #ffffff;
  background: #253b52;
  font-size: 14px;
  font-weight: 900;
  transition: background 0.16s ease;
}

.download-btn::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 9px;
  border-left: 7px solid #ffffff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  opacity: 0.9;
}

.download-btn:hover {
  background: #172b40;
}

.faq-section {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 76px;
  scroll-margin-top: 86px;
}

.faq-wrap {
  display: block;
}

.faq-heading {
  min-width: 0;
  margin-bottom: 30px;
  text-align: center;
}

.faq-heading h2 {
  margin: 0;
  color: #24384c;
  font-size: 31px;
  line-height: 1.28;
  font-weight: 900;
}

.faq-list {
  width: 100%;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(35, 55, 78, 0.05);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(239, 71, 58, 0.28);
  box-shadow: 0 14px 30px rgba(35, 55, 78, 0.08);
}

.faq-item summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  color: #24384c;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-summary-text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.faq-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #253b52;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
}

.faq-arrow {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-right: 2px solid #8b96a1;
  border-bottom: 2px solid #8b96a1;
  transform: rotate(45deg);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.faq-item[open] .faq-arrow {
  border-color: var(--red);
  transform: rotate(-135deg);
}

.faq-panel {
  padding: 0 22px 22px 68px;
}

.faq-panel p {
  margin: 0;
  color: #6f7e8a;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
  }

  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 14px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav .download-pill {
    min-width: 132px;
    padding: 11px 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 38px 30px 42px;
  }

  .hero-content,
  .hero-laptop {
    position: static;
  }

  .hero-content-icon {
    position: static;
  }

  .hero .hero-heading {
    margin-left: 0;
  }

  .hero p {
    margin-bottom: 28px;
  }

  .laptop {
    margin: 4px auto 0;
  }

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

  .seo-highlights {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: min(100% - 24px, 940px);
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    display: none;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-subtitle {
    font-size: 13px;
  }

  .nav {
    font-size: 13px;
  }

  .notice {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-wrap {
    padding: 12px 12px 0;
  }

  .hero {
    padding: 28px 20px 32px;
    border-radius: 12px;
  }

  .hero-title-row {
    grid-template-columns: 62px 1fr;
    gap: 16px;
  }

  .hero-icon {
    width: 62px;
    height: 62px;
    font-size: 40px;
  }

  .hero p {
    font-size: 15px;
  }

  .primary-btn {
    width: 100%;
  }

  .screen {
    height: 205px;
    border-width: 6px;
    border-bottom-width: 10px;
  }

  .screen-content {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 18px 14px;
  }

  .screen-logo {
    display: none;
  }

  .java-word {
    font-size: clamp(52px, 18vw, 70px);
  }

  .java-word small {
    font-size: 32px;
  }

  .products {
    margin-top: 52px;
  }

  .seo-highlights {
    margin-top: 32px;
  }

  .products h2 {
    font-size: 27px;
  }

  .products .lead {
    margin-bottom: 34px;
  }

  .card {
    min-height: 0;
  }

  .card-title {
    flex-wrap: wrap;
    gap: 9px;
    white-space: normal;
  }

  .faq-section {
    margin-bottom: 52px;
  }

  .faq-heading h2 {
    font-size: 26px;
  }

  .faq-item summary {
    min-height: 68px;
    padding: 16px 16px;
    font-size: 16px;
  }

  .faq-summary-text {
    align-items: flex-start;
  }

  .faq-panel {
    padding: 0 16px 18px;
  }
}

.footer .copyright {
    background: #212121;
    border-top: 1px solid #444;
    text-align: center;
    padding: 20px 0;
    line-height: 30px;
    color: #c1c1c1;
}

@media (max-width: 420px) {
  .hero-title-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero h1 span {
    font-size: 32px;
  }
}
