:root {
  --bg: #f6f3ec;
  --ink: #191714;
  --muted: #70695f;
  --line: #ded6c9;
  --panel: #fffdf8;
  --panel-strong: #12110f;
  --gold: #c6a15d;
  --gold-dark: #7b5b27;
  --green: #2f8a73;
  --blue: #496f9c;
  --shadow: 0 18px 46px rgba(37, 29, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(246, 243, 236, 0.96)),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(18, 17, 15, 0.06), transparent 34%),
    url("../images/venue-lounge.jpeg") center top / cover no-repeat;
  opacity: 0.16;
}

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

img,
svg {
  display: block;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 253, 248, 0.86);
  border-bottom: 1px solid rgba(222, 214, 201, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover {
  color: var(--gold-dark);
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  align-items: center;
  gap: 64px;
  padding: 34px 0 42px;
}

.eyebrow,
.section-label {
  display: block;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 1.06;
  font-weight: 950;
}

h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.18;
}

h3 {
  margin-bottom: 8px;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 26px;
  color: #3c3832;
  font-size: 20px;
  line-height: 1.75;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-btn,
.download-link {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(123, 91, 39, 0.22);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.download-btn {
  gap: 12px;
  padding: 10px 17px;
}

.download-btn.primary {
  color: #17130c;
  background: linear-gradient(135deg, #ead6a4, #c69d55);
  border-color: rgba(123, 91, 39, 0.18);
}

.download-btn:hover,
.download-link:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 91, 39, 0.42);
}

.download-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.22);
}

.download-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-icon svg path:first-child:last-child,
.download-btn.primary .download-icon svg {
  fill: currentColor;
  stroke: none;
}

.download-btn strong,
.download-link strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.download-btn small,
.download-link span {
  display: block;
  margin-top: 3px;
  color: rgba(25, 23, 20, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.download-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hero-preview {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 375px);
  padding: 12px;
  border-radius: 34px;
  background: linear-gradient(155deg, #24211d, #050505);
  box-shadow: 0 26px 60px rgba(13, 11, 8, 0.3);
}

.phone-screen {
  aspect-ratio: 375 / 812;
  overflow: hidden;
  border-radius: 25px;
  background: #10100f;
  color: #fff;
  padding: 14px;
}

.screen-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 12px;
}

.app-top span {
  display: block;
  color: rgba(201, 161, 93, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.app-top strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.app-top button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #e4c987;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.app-top svg {
  width: 20px;
  height: 20px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.screen-banner {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 16px;
}

.quick-grid span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.service-row img {
  width: 72px;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
}

.service-row strong,
.service-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-row strong {
  font-size: 15px;
}

.service-row span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.service-row em {
  padding: 5px 8px;
  border-radius: 999px;
  color: #17120a;
  background: #d8bd82;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.section {
  padding: 74px 0;
}

.compact-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 44px;
  border-top: 1px solid var(--line);
}

.compact-intro p,
.section-head p,
.download-section p,
.service-grid p,
.contact-grid span {
  color: var(--muted);
  line-height: 1.75;
}

.section-head {
  max-width: 720px;
  margin-bottom: 26px;
}

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

.screenshot-item {
  display: grid;
  gap: 12px;
}

.screenshot-item > strong {
  color: #2a251d;
  font-size: 16px;
}

.mini-phone {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(222, 214, 201, 0.92);
  border-radius: 8px;
  background: #12110f;
  box-shadow: var(--shadow);
  color: #fff;
  padding: 16px;
}

.mini-phone.light {
  color: #191714;
  background: #fffdf8;
}

.mini-head {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.mini-head span {
  width: 32px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mini-phone img {
  width: 100%;
  height: 88px;
  border-radius: 8px;
  object-fit: cover;
}

.mini-phone h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.mini-phone p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.7;
}

.mini-phone.light p {
  color: var(--muted);
}

.line-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.line-list span {
  height: 46px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.mini-cover {
  height: 144px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.45)),
    url("../images/venue-lounge.jpeg") center / cover;
}

.detail-block {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}

.detail-block span {
  height: 14px;
  border-radius: 999px;
  background: #ece3d4;
}

.detail-block span:nth-child(2) {
  width: 84%;
}

.detail-block span:nth-child(3) {
  width: 62%;
}

.mini-phone button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  color: #15110a;
  background: linear-gradient(135deg, #e6ce96, #c69d55);
  font-weight: 900;
}

.order-card {
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.order-card.done {
  background: rgba(47, 138, 115, 0.22);
}

.order-card span,
.order-card em {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-style: normal;
}

.order-card strong {
  display: block;
  margin: 8px 0;
  font-size: 17px;
}

.timeline {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}

.timeline span {
  height: 10px;
  border-radius: 999px;
  background: rgba(201, 161, 93, 0.32);
}

.timeline span:nth-child(2) {
  width: 72%;
  background: rgba(73, 111, 156, 0.44);
}

.timeline span:nth-child(3) {
  width: 88%;
}

.timeline span:nth-child(4) {
  width: 54%;
  background: rgba(47, 138, 115, 0.44);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-grid article,
.contact-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

.service-grid article {
  padding: 22px;
}

.service-grid article > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #15110a;
  background: #e4c987;
  font-size: 13px;
  font-weight: 900;
}

.service-grid h3 {
  font-size: 20px;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  align-items: center;
  gap: 48px;
  margin: 40px 0;
  padding: 42px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(18, 17, 15, 0.96), rgba(24, 22, 18, 0.88)),
    url("../images/venue-ktv.jpeg") center / cover;
  box-shadow: var(--shadow);
}

.download-section .section-label {
  color: #e6ce96;
}

.download-section p {
  color: rgba(255, 255, 255, 0.68);
}

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

.download-link {
  min-width: 0;
  justify-content: center;
  padding: 18px;
  color: #191714;
}

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

.contact-grid div {
  padding: 20px;
}

.contact-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
}

.site-footer img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.site-footer a:hover {
  color: var(--gold-dark);
}

.site-footer span {
  margin: 0 8px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 40;
  max-width: min(420px, calc(100% - 32px));
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: rgba(18, 17, 15, 0.92);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  main {
    width: min(100% - 28px, 760px);
  }

  .hero,
  .compact-intro,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 28px;
    padding-top: 26px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-preview {
    justify-content: flex-start;
  }

  .phone-frame {
    width: 310px;
    padding: 10px;
    border-radius: 28px;
  }

  .phone-screen {
    border-radius: 20px;
  }

  .screenshot-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .mini-phone {
    min-height: 360px;
  }

  .download-section {
    padding: 28px;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .site-footer {
    width: min(100% - 28px, 760px);
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 18px;
  }

  .site-nav {
    font-size: 13px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 24px;
  }

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

  .download-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .download-btn {
    width: 100%;
  }

  .phone-frame {
    width: 100%;
    max-width: 300px;
  }

  .phone-screen {
    padding: 12px;
  }

  .app-top strong {
    font-size: 19px;
  }

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

  .service-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .service-row img {
    width: 62px;
    height: 64px;
  }

  .service-row em {
    grid-column: 2;
    justify-self: start;
  }

  .section {
    padding: 52px 0;
  }

  .download-section {
    margin: 24px 0;
    padding: 22px;
  }
}
