:root {
    --navy: #1b2f57;
    --navy-soft: #27477d;
    --nav-hover: #7fd1f0;
    --mint: #d8efe6;
    --mint-deep: #b8dfd1;
    --card-blue: #64c7ef;
    --card-blue-dark: #0f3f69;
    --card-yellow: #ffd84e;
    --card-yellow-dark: #4d3b00;
    --cta: #00a9d6;
    --cta-deep: #008bb3;
    --text: #15233d;
    --muted: #5d6b82;
    --bg: #f6f9fc;
    --surface: #ffffff;
    --tag-bg: #edf0ff;
    --tag-text: #4e5fb2;
    --border: #dbe5f3;
    --radius: 14px;
    --shadow: 0 10px 24px rgba(21, 28, 41, 0.1);
    --site-header-offset: 112px;
    --hero-curve: clamp(40px, 6vw, 72px);
}

html {
    scroll-padding-top: var(--site-header-offset);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16.5px;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
}

h1, h2, h3, h4 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0.01em;
    font-weight: 600;
}

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 25;
    background: var(--navy);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-shell {
    background: var(--navy);
    padding: var(--site-header-offset) 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: var(--hero-curve);
    border-bottom-right-radius: var(--hero-curve);
}

.masthead {
    border-bottom: 1px solid rgba(230, 238, 249, 0.16);
    color: #cfdae9;
    font-size: 14px;
    letter-spacing: 0.4px;
    background: #002658;
}

.masthead-inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
}

.masthead-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 14px;
    padding: 2px 0 7px;
    color: #fff;
    background: #000;
}


.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-left: 0;
    margin-top: -8px;
    margin-right: auto;
    padding: 6px 10px;
    min-height: 44px;
    border-radius: 14px;
}

.desktop-nav .menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item {
    position: relative;
    padding: 8px 10px;
    border-radius: var(--radius);
    color: #d9deeb;
    font-size: 15px;
    transition: background-color 0.2s ease, color 0.2s ease;
    letter-spacing: 0.5px;
}

.desktop-nav .menu-item > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: inherit;
}

.nav-item:hover {
    background: rgba(127, 209, 240, 0.16);
    color: #ecf9ff;
}

.desktop-nav .menu-item-has-children > a::after { content: "▾"; font-size: 10px; opacity: 0.8; }

.sub-menu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    display: grid;
    gap: 4px;
    margin: 0;
    background: #fff;
    color: #2a3242;
    border-radius: var(--radius);
    border: 1px solid #dfe4ef;
    box-shadow: 0 14px 26px rgba(9, 16, 27, 0.18);
    padding: 8px;
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 40;
}

.sub-menu a {
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 15px;
    color: #3a4256;
    display: block;
    text-transform: none;
    letter-spacing: 0;
}

.sub-menu a:hover {
    background: #edf8ff;
    color: #15507d;
}

.nav-item:hover .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.search {
    width: min(360px, 100%);
    background: rgba(235, 243, 252, 0.14);
    border: 1px solid rgba(182, 205, 228, 0.42);
    border-radius: var(--radius);
    min-height: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    padding: 0 8px 0 12px;
    gap: 8px;
    color: #d5e2f1;
    font-size: 15px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.search:focus-within {
    border-color: #9ec2e2;
    background: rgba(235, 243, 252, 0.2);
    box-shadow: 0 0 0 3px rgba(158, 194, 226, 0.24);
}

.search > form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #edf4ff;
    font-size: 15px;
    font-family: inherit;
    transition: color 0.2s ease;
}

.search .search-input:focus {
    color: #ffffff;
}

.search .search-input::placeholder {
    color: #b8c8db;
    opacity: 1;
    transition: opacity 0.22s ease, color 0.22s ease;
}

.search .search-input:focus::placeholder {
    opacity: 0.35;
    color: #d2dceb;
}
.search-btn {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #d8e6f5;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.search-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(127, 209, 240, 0.55);
    border-radius: var(--radius);
    background: rgba(127, 209, 240, 0.08);
    color: #dff6ff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.hero-title-block {
    margin: 46px auto 42px;
    text-align: center;
    max-width: 1080px;
}

.hero-title-main {
    margin: 0;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(32px, 5.6vw, 62px);
    line-height: 1.04;
    letter-spacing: 0;
    color: #e9f4f1;
    text-transform: none;
}

.hero-title-main em {
    font-style: italic;
    font-weight: 500;
    color: #AAA0FF;
}

.hero-title-sub {
    margin: 16px 0 0;
    font-size: clamp(14px, 1.6vw, 32px);
    line-height: 1.45;
    color: rgba(235, 241, 248, 0.88);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 100;
}

.card-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: 0 16px;
}

.story-card {
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 1fr 120px 18px;
    gap: 12px;
    align-items: center;
    min-height: 110px;
    padding: 15px 14px;
    border: 1px solid rgba(17, 35, 57, 0.2);
    box-shadow:
            0 2px 4px rgba(15, 30, 52, 0.04),
            0 6px 12px rgba(15, 32, 55, 0.06),
            0 12px 24px rgba(20, 38, 68, 0.08);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.story-card:hover {
    box-shadow:
            0 4px 8px rgba(15, 30, 52, 0.06),
            0 10px 20px rgba(15, 32, 55, 0.1),
            0 18px 36px rgba(20, 38, 68, 0.12);
    transform: translateY(-2px);
}

.story-card.blue { background: var(--card-blue); color: var(--card-blue-dark); }
.story-card.yellow { background: var(--card-yellow); color: var(--card-yellow-dark); }

.story-title {
    margin: 0 0 9px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.45;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

.story-desc {
    margin: 0;
    font-size: 15px;
    opacity: 0.92;
    line-height: 1.6;
}

.story-thumb {
    border-radius: var(--radius);
    background: linear-gradient(140deg, #20425e, #5b86aa);
    width: 120px;
    height: 150px;
    overflow: hidden;
}

.story-card.yellow .story-thumb {
    background: linear-gradient(140deg, #6b5600, #c7a63f);
}

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

.story-arrow {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    align-self: end;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.story-arrow svg {
    width: 16px;
    height: 16px;
    stroke: #1d456f;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.88;
    transition: opacity 0.2s ease;
}

.story-card:hover .story-arrow {
    transform: translateX(4px);
}

.story-card:hover .story-arrow svg {
    opacity: 1;
}

.section-light {
    background: #f7f6f2;
    padding: 34px 0;
    border-top: 1px solid #e2e0d9;
}

.section-title {
    margin: 0 0 12px;
    text-align: center;
    font-size: clamp(36px, 4vw, 52px);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 650;
    color: #233a63;
    letter-spacing: 0.2px;
}
.section-title-sub {
    margin: 3px auto 16px;
    max-width: 42em;
    text-align: center;
    color: #5d6b82;
    font-size: 15px;
    line-height: 1.65;
}
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.chip {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 47, 87, 0.25);
}

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

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

.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 18px 18px;
    min-height: 220px;
    box-shadow:
            0 4px 6px rgba(15, 30, 52, 0.06),
            0 8px 16px rgba(15, 32, 55, 0.08),
            0 16px 40px rgba(20, 38, 68, 0.14);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.article-card:hover {
    box-shadow:
            0 6px 12px rgba(15, 30, 52, 0.08),
            0 12px 24px rgba(15, 32, 55, 0.12),
            0 24px 56px rgba(20, 38, 68, 0.18);
    transform: translateY(-3px);
}

.article-card h3 {
    margin: 0 0 8px;
    color: #2f3f55;
    font-size: 19px;
    line-height: 1.45;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 600;
}

.article-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.more {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px auto 0;
    width: fit-content;
    border: 1px solid #bfd8ea;
    border-radius: var(--radius);
    padding: 7px 16px;
    color: #23527a;
    font-size: 14px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(20, 66, 104, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.more:hover {
    background: #f2f9ff;
    border-color: #98c5df;
    color: #17466b;
}

.help-shell {
    position: relative;
    background: linear-gradient(180deg, #203b66 0%, #172c4a 100%);
    color: #f6f8fc;
    padding: 40px 0 34px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow: hidden;
}

.help-shell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 214, 241, 0.7), transparent);
}

.help-title {
    margin: 0;
    text-align: center;
    font-size: clamp(34px, 4vw, 48px);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: 0.2px;
}

.help-sub {
    margin: 10px auto 16px;
    max-width: 42em;
    text-align: center;
    color: #d3dae9;
    font-size: 15px;
    line-height: 1.65;
}

.help-chips .chip {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.help-chips .chip:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.help-chips .chip a {
    color: inherit;
    text-decoration: none;
}

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

.help-topic {
    display: grid;
    gap: 10px;
    padding: 2px 0;
}

.help-topic-title {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 28px);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 620;
    letter-spacing: 0.1px;
    line-height: 1;
    color: #1f3a63;
    text-shadow: none;
}

.help-topic-link {
    border-radius: 999px;
    border: 1px solid #b8d6ea;
    color: #1f4f78;
    background: #eef7ff;
    font-size: 14px;
    padding: 4px 10px;
    white-space: nowrap;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.help-topic-link:hover {
    background: #dff1ff;
    color: #173f62;
}

.help-card {
    background: #fff;
    border-radius: var(--radius);
    border: none;
    overflow: hidden;
    color: #1b2430;
    min-height: 188px;
    box-shadow: 0 4px 12px rgba(9, 18, 33, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.help-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 12px 10px;
    border-bottom: 1px solid #edf3fb;
    background: #ffffff;
}

.help-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(10, 14, 24, 0.14);
}

.help-photo {
    height: 150px;
    background: #d8e5f2;
    border-bottom: none;
    overflow: hidden;
}

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

.help-body { padding: 12px 12px 14px; }

.help-card .help-label {
    margin: 2px 0 7px;
    color: #2F7A4F;
    font-size: 11px;
    letter-spacing: 0.3px;
}

.help-card h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #2a2f3e;
    line-height: 1.45;
}

.help-card p {
    margin: 0;
    font-size: 11px;
    color: #656d7c;
    line-height: 1.65;
}

/* ── Featured Products ── */
.featured-products {
  background: #f0f4f9;
  border: 0;
  border-radius: 0;
  padding: 28px 22px 32px;
  box-shadow: none;
  position: relative;
  z-index: 0;
}

.featured-products::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #f0f4f9;
  z-index: -1;
}

.featured-products h2 {
  display: block;
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-align: center;
  font-weight: 700;
}

.featured-products__sub {
  margin: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

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

/* 商品卡片 */
.fp-card {
  background: var(--surface);
  border: 1px solid rgba(27, 47, 87, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(21, 35, 61, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.fp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(21, 35, 61, 0.14);
}

/* 商品图片区域 */
.fp-card__image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #f4f7fb 0%, #e4ecf5 100%);
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.fp-card__image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.fp-card:hover .fp-card__image-wrap img {
  transform: scale(1.025);
  opacity: 0.96;
}

.fp-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: #e4ecf5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-card__img-placeholder::after {
  content: "Book";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: var(--navy);
  opacity: 0.45;
}

/* 商品卡片内容 */
.fp-card__body {
  padding: 14px 15px 12px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.fp-card__title {
  margin: 0 0 5px;
  font-size: 1.02rem;
  line-height: 1.35;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fp-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fp-card__title a:hover {
  color: var(--cta);
}

.fp-card__author {
  margin: 0 0 7px;
  font-size: 0.82rem;
  color: var(--navy);
  opacity: 0.7;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fp-card__desc {
  margin: 0 0 12px;
  min-height: 3.9em;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text);
  opacity: 0.72;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 商品卡片底部：价格 + 详情 */
.fp-card__footer {
  margin-top: auto;
  padding-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
}

.fp-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cta-deep);
  line-height: 1.35;
  flex: 1 1 auto;
  min-width: 0;
}

.fp-card__price del {
  display: inline-block;
  opacity: 0.58;
  font-size: 0.84rem;
  color: #8f95a2;
  text-decoration: line-through;
  margin-right: 0.35rem;
}

.fp-card__price ins {
  display: inline-block;
  text-decoration: none;
  color: var(--cta-deep);
}

.fp-card__price .amount,
.fp-card__price bdi {
  white-space: nowrap;
}

.fp-card__details {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  flex: 0 0 auto;
}

.fp-card__details:hover {
  color: var(--cta);
}

.fp-card__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  margin-top: 12px;
  padding: 0.58rem 1rem;
  border: 1px solid rgba(0, 169, 214, 0.3);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(27, 47, 87, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fp-card__buy:hover,
.fp-card__buy:focus {
  transform: translateY(-1px);
  background: var(--navy-soft);
  color: #fff;
  box-shadow: 0 7px 18px rgba(27, 47, 87, 0.28);
}

.fp-card__buy::before {
  content: "▣";
  margin-right: 0.45rem;
  font-size: 0.7rem;
  line-height: 1;
  opacity: 0.9;
}

.featured-products__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.featured-products__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1.75rem;
  border: 1px solid rgba(0, 169, 214, 0.3);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(27, 47, 87, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.featured-products__more:hover,
.featured-products__more:focus {
  transform: translateY(-1px);
  background: var(--navy-soft);
  color: #fff;
  box-shadow: 0 8px 20px rgba(27, 47, 87, 0.28);
}

/* Footer - Standard multi-column layout */
footer {
    background: #f8f7f5;
    border-top: 1px solid #e0ded8;
    color: #6b7280;
    font-size: 14px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 48px 0 40px;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1 1 300px;
    max-width: 320px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    text-decoration: none;
    display: block;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 140px;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
}

.footer-column a {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #4f46e5;
}

.footer-copyright {
    font-size: 13px;
    color: var(--navy);
    margin: 16px 0 0 0;
    font-weight: 500;
}

.footer-bottom {
    background: var(--navy);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* GDPR Cookie Consent Banner - Bottom Banner Style */
html.cookie-consent-dismissed .cookie-consent-root {
    display: none;
}

.cookie-consent-root {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
}

.cookie-consent-backdrop {
    display: none;
}

.cookie-consent-panel {
    padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0));
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(21, 28, 41, 0.12);
}

.cookie-consent-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 28px;
}

.cookie-consent-copy {
    flex: 1 1 280px;
    max-width: 720px;
}

.cookie-consent-title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: var(--text);
    font-weight: 600;
}

.cookie-consent-desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
}

.cookie-consent-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-link:hover {
    color: var(--navy);
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-consent-btn {
    font: inherit;
    cursor: pointer;
    border-radius: var(--radius);
    padding: 12px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.cookie-consent-btn:active {
    transform: scale(0.98);
}

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

.cookie-consent-btn-primary:hover {
    background: var(--navy);
    border-color: var(--navy);
}

.cookie-consent-btn-secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.cookie-consent-btn-secondary:hover {
    border-color: var(--muted);
    background: var(--bg);
}

@media (max-width: 640px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

    .cookie-consent-btn {
        flex: 1 1 auto;
        text-align: center;
        min-width: 0;
    }
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 20, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 30;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(86vw, 330px);
    background: #fff;
    color: #20283a;
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
    box-shadow: -10px 0 24px rgba(8, 12, 20, 0.18);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 31;
    overflow: auto;
    padding: 16px 14px 22px;
}

.drawer-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

.drawer-open .mobile-drawer {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.drawer-close {
    border: 1px solid #d7ddeb;
    background: #fff;
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #2a3242;
}

.mobile-drawer .mobile-nav .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-drawer .mobile-nav .menu-item {
    list-style: none;
}

.mobile-drawer .mobile-nav .nav-item {
    border-bottom: 1px solid #edf1f7;
    padding: 8px 0;
}

.mobile-drawer .mobile-nav .nav-item > a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 2px;
    color: #263147;
    font-size: 15px;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.mobile-drawer .mobile-nav .menu-item-has-children > a::after {
    content: "▾";
    font-size: 14px;
    color: #61708a;
    transition: transform 0.2s ease;
}

.mobile-drawer .mobile-nav .menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

.mobile-drawer .mobile-nav .nav-item > .sub-menu {
    display: none;
    position: static;
    min-width: 0;
    margin: 0;
    background: transparent;
    color: inherit;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 2px 0 8px 0;
    gap: 2px;
}

.mobile-drawer .mobile-nav .menu-item-has-children.open > .sub-menu {
    display: grid;
}

.mobile-drawer .mobile-nav .sub-menu a {
    color: #55617b;
    font-size: 14px;
    padding: 8px 2px 8px 10px;
    border-left: 2px solid #e5eaf4;
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0;
}

.mobile-drawer .mobile-nav .sub-menu a:hover {
    color: #2d364a;
    border-left-color: #96a4c0;
    background: #f8faff;
}

@media (max-width: 1100px) {
    .featured-products__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 920px) {
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .help-grid { grid-template-columns: 1fr; }
    .help-topic-title { font-size: 28px; }
    .featured-products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 800px) {
    .featured-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 640px) {
    :root { --site-header-offset: 72px; }
    .container { width: min(520px, calc(100% - 18px)); }
    .masthead { display: block; }
    .masthead-inner {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }
    .masthead-inner .logo {
        font-size: 20px;
    }
    .topbar {
        grid-template-columns: auto 1fr auto;
        padding: 8px 0 14px;
    }
    .desktop-nav { display: none; }
    .search { min-height: 32px; font-size: 14px; }
    .masthead-inner .menu-toggle {
        flex: 0 0 auto;
        margin-left: 8px;
        white-space: nowrap;
        display: inline-grid;
        place-items: center;
    }
    .menu-toggle { display: inline-grid; place-items: center; }
    .hero-title-block { margin: 68px auto 28px; }
    .hero-title-main { font-size: clamp(32px, 10.2vw, 48px); line-height: 1.06; }
    .hero-title-sub { margin-top: 10px; font-size: clamp(14px, 4.4vw, 20px); }
    .card-stack {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
    }
    .story-card {
        grid-template-columns: 1fr 68px 16px;
        min-height: 96px;
        padding: 11px;
    }
    .story-thumb {
        width: 68px;
        height: 88px;
    }
    .story-title { font-size: 17px; }
    .story-desc { font-size: 14px; }
    .section-light { padding: 22px 0; }
    .section-title { font-size: 32px; text-align: center; }
    .article-grid { grid-template-columns: 1fr; }
    .help-title { font-size: 42px; text-align: center; }
    .footer-main { flex-direction: column; gap: 32px; padding: 32px 0 24px; }
    .footer-links { gap: 40px; justify-content: flex-start; }
    .featured-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .featured-products { padding: 22px 14px 24px; }
    .featured-products h2 { font-size: 1.2rem; }
    .featured-products__sub { font-size: 0.85rem; }
}

/* Premium Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-premium .btn-icon {
    transition: transform 0.3s ease;
}

.btn-premium:hover .btn-icon {
    transform: translateX(4px);
}

.btn-minimal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.btn-minimal:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    color: #5a67d8;
    transform: translateX(2px);
}

/* Premium Arrow Button */
/* 玻璃拟态风格按钮 */
.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    box-shadow:
            0 4px 6px rgba(0, 0, 0, 0.05),
            0 10px 20px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* 光泽效果 */
.btn-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-arrow svg {
    width: 16px;
    height: 16px;
    stroke: #2d3748;
    stroke-width: 2;
    fill: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-arrow:hover {
    transform: translateY(-2px) scale(1.08);
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow:
            0 8px 15px rgba(0, 0, 0, 0.1),
            0 20px 40px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-arrow:hover::before {
    left: 100%;
}

.btn-arrow:hover svg {
    transform: translateX(3px);
    stroke: #1a202c;
}

/* 点击效果 */
.btn-arrow:active {
    transform: translateY(0) scale(1.02);
    box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.05),
            0 5px 10px rgba(0, 0, 0, 0.08);
}

/* 卡片悬停时的按钮联动效果 */
.story-card:hover .btn-arrow {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.cookie-settings-content {
    position: relative;
    background: #ffffff;
    border-radius: 4px;
    width: min(600px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-settings-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #333;
    z-index: 10;
    line-height: 1;
}

.cookie-settings-close:hover {
    color: #000;
}

.cookie-settings-body {
    padding: 32px 40px;
}

.cookie-settings-body h2 {
    margin: 0 0 28px 0;
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 500;
    font-family: Georgia, "Times New Roman", serif;
}

.cookie-category {
    border-bottom: 1px solid #e5e5e5;
    padding: 24px 0;
}

.cookie-category:first-of-type {
    padding-top: 0;
}

.cookie-category:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.cookie-category-info h3 {
    margin: 0;
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 600;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

.cookie-status {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.cookie-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-category-desc {
    margin: 0;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
}

.cookie-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    transition: background-color 0.3s;
    flex-shrink: 0;
}

.cookie-toggle-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #000;
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(20px);
}

.toggle-status {
    font-size: 0.85rem;
    color: #666;
    min-width: 24px;
}

.cookie-settings-footer {
    padding: 20px 40px 32px;
    display: flex;
    justify-content: flex-end;
}

.cookie-settings-btn {
    font: inherit;
    cursor: pointer;
    border-radius: 4px;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    transition: background 0.2s;
}

.cookie-settings-btn-primary {
    background: #000;
    color: #fff;
}

.cookie-settings-btn-primary:hover {
    background: #333;
}

@media (max-width: 640px) {
    .cookie-settings-modal {
        padding: 10px;
    }

    .cookie-settings-body {
        padding: 24px 20px;
    }

    .cookie-settings-footer {
        padding: 16px 20px 24px;
    }

    .cookie-settings-btn {
        width: 100%;
    }
}
