:root {
  --gulu-brand: #0f7958;
  --gulu-brand-dark: #0a6549;
  --gulu-brand-soft: #e6f4ef;
  --gulu-bg: #fcfdfb;
  --gulu-card: rgba(255, 255, 255, 0.96);
  --gulu-card-solid: #ffffff;
  --gulu-line: #e8eeeb;
  --gulu-text: #333333;
  --gulu-muted: #666666;
  --gulu-soft: #999999;
  --gulu-warn: #c89034;
  --gulu-warn-soft: #f8efd8;
  --gulu-radius-lg: 16px;
  --gulu-radius-md: 12px;
  --gulu-radius-sm: 8px;
  --gulu-shadow: 0 14px 34px rgba(15, 121, 88, 0.06);
  --gulu-font: "Source Han Sans SC", "Noto Sans SC", Inter, "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--gulu-bg);
  min-height: 100%;
}

body.gulu-page,
body {
  margin: 0;
  min-height: 100vh;
  color: var(--gulu-text);
  font-family: var(--gulu-font);
  background:
    linear-gradient(180deg, rgba(252, 253, 251, 0.9), rgba(252, 253, 251, 0.97)),
    url("/assets/gulu-page-bg.png") center / cover no-repeat fixed,
    var(--gulu-bg);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(15, 121, 88, 0.26);
  outline-offset: 2px;
}

.gulu-shell {
  width: min(1520px, calc(100vw - 72px));
  min-width: 1120px;
  min-height: calc(100vh - 48px);
  margin: 0 auto;
}

.gulu-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--gulu-line);
  border-radius: var(--gulu-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(15, 121, 88, 0.06);
}

.gulu-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.gulu-brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
}

.gulu-brand strong {
  display: block;
  color: var(--gulu-text);
  font-size: 16px;
  line-height: 1.05;
  font-weight: 900;
}

.gulu-brand small {
  display: block;
  color: var(--gulu-muted);
  font-size: 11px;
  line-height: 1.15;
}

.gulu-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1 1 auto;
}

.gulu-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 56px;
  color: var(--gulu-muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.gulu-nav a:hover,
.gulu-nav a.is-active {
  color: var(--gulu-brand);
}

.gulu-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--gulu-brand);
}

.gulu-top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--gulu-radius-sm);
  background: var(--gulu-brand);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  white-space: nowrap;
}

.gulu-top-action:hover,
.gulu-button:hover {
  background: var(--gulu-brand-dark);
}

.gulu-input,
.gulu-select,
input,
select,
textarea {
  border: 1px solid var(--gulu-line);
  border-radius: var(--gulu-radius-sm);
  background: #fff;
  color: var(--gulu-text);
  outline: 0;
}

.gulu-input:focus,
.gulu-select:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gulu-brand);
  box-shadow: 0 0 0 3px rgba(15, 121, 88, 0.1);
}

.gulu-card {
  border: 1px solid var(--gulu-line);
  border-radius: var(--gulu-radius-lg);
  background: var(--gulu-card);
  box-shadow: var(--gulu-shadow);
}

.gulu-button,
.btn,
.btn-primary,
.brand-btn,
.checkout-btn,
button.brand,
.btn.brand {
  border: 0;
  border-radius: var(--gulu-radius-sm);
  background: var(--gulu-brand);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  box-shadow: none;
}

.gulu-button[disabled],
button[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--gulu-line);
  background: #fff;
  color: var(--gulu-text);
  text-decoration: none;
}

.btn:hover {
  border-color: rgba(15, 121, 88, 0.24);
  background: #f7fbf9;
}

.gulu-muted {
  color: var(--gulu-muted);
}

.muted {
  color: var(--gulu-soft);
}

.success {
  color: var(--gulu-brand);
  font-weight: 900;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--gulu-brand-soft);
  color: var(--gulu-brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 7px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 999px;
  vertical-align: -2px;
  animation: gulu-spin 0.8s linear infinite;
}

@keyframes gulu-spin {
  to {
    transform: rotate(360deg);
  }
}

.gulu-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--gulu-brand-soft);
  color: var(--gulu-brand);
  font-size: 11px;
  line-height: 20px;
  font-weight: 800;
}

.gulu-modal,
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(21, 39, 35, 0.34);
  backdrop-filter: blur(10px);
}

.gulu-modal.show,
.modal.show {
  display: flex;
}

.gulu-modal-card,
.modal-card {
  width: min(680px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--gulu-line);
  border-radius: var(--gulu-radius-lg);
  background:
    linear-gradient(135deg, rgba(230, 244, 239, 0.52), rgba(255, 255, 255, 0.98) 38%),
    #fff;
  box-shadow: 0 26px 70px rgba(15, 121, 88, 0.16);
}

.gulu-modal-head,
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.gulu-modal-head h3,
.modal-head h3 {
  margin: 0;
  color: var(--gulu-text);
  font-size: 18px;
  font-weight: 900;
}

.notice-card {
  max-width: 560px;
}

.notice-content {
  display: grid;
  gap: 10px;
  color: var(--gulu-muted);
  font-size: 14px;
  line-height: 1.7;
}

.notice-line {
  padding: 12px 14px;
  border: 1px solid rgba(15, 121, 88, 0.12);
  border-radius: 12px;
  background: rgba(230, 244, 239, 0.56);
  color: var(--gulu-text);
}

.gulu-hero {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  padding: 24px 32px;
  border: 1px solid var(--gulu-line);
  border-radius: var(--gulu-radius-lg);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(248, 253, 250, 0.96) 42%, rgba(230, 244, 239, 0.58) 100%),
    url("/assets/gulu-hero-final.png") right 24px center / auto 235% no-repeat;
  box-shadow: 0 16px 38px rgba(15, 121, 88, 0.07);
}

.gulu-hero-visual {
  display: none;
}

.gulu-hero-visual::before {
  display: none;
}

.gulu-hero-visual::after {
  display: none;
}

.gulu-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 48%;
  opacity: 0.86;
  transform: scale(1.08);
}

.gulu-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 58%;
}

.gulu-hero-content img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
}

.gulu-eyebrow {
  margin: 0 0 8px;
  color: var(--gulu-brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gulu-title {
  margin: 0;
  background: none;
  color: var(--gulu-text);
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  text-align: left;
  -webkit-text-fill-color: currentColor;
  background-clip: border-box;
}

.gulu-title em {
  padding: 0 0.12em;
  border-radius: 0.16em;
  background: var(--gulu-brand-soft);
  color: var(--gulu-brand);
  font-style: normal;
}

.gulu-hero-copy {
  margin: 10px 0 0;
  color: var(--gulu-muted);
  font-size: 14px;
}

@media (max-width: 1180px) {
  body {
    overflow-x: hidden;
  }

  .gulu-shell {
    width: calc(100vw - 24px);
    min-width: 0;
  }

  .gulu-topbar {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  .gulu-brand {
    min-width: 0;
  }

  .gulu-nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
  }

  .gulu-nav a {
    height: 34px;
  }

  .gulu-nav a.is-active::after {
    bottom: 0;
  }

  .gulu-hero {
    min-height: 132px;
    padding: 20px;
  }

  .gulu-hero-visual {
    width: 54%;
  }

  .gulu-hero-content {
    max-width: 68%;
  }

  .gulu-title {
    font-size: 24px;
  }
}

@media (max-width: 760px) {
  .gulu-hero {
    min-height: 148px;
  }

  .gulu-hero-visual {
    opacity: 0.32;
    width: 70%;
  }

  .gulu-hero-content {
    max-width: 100%;
  }

  .gulu-hero-content img {
    width: 44px;
    height: 44px;
  }
}
