/* Storage page (/storage): price calculator first, little text. Uses the home page palette. */
:root {
  --paper: #F2F3EF;
  --paper-2: #E5E8E3;
  --panel: #FFFFFF;
  --ink: #1A1F26;
  --ink-2: #56606B;
  --ink-3: #8A939C;
  --rule: #DADED8;
  --red: #C8372D;
  --red-deep: #7C1F18;
  --red-ink: #FFF4EE;
  --red-soft: #FBEAE7;
  --brass: #E3A93C;
  --night-2: #A2ADC2;
  --f-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --f-num: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; }

.st-wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* header */
.st-top { position: sticky; top: 0; z-index: 40; background: rgba(242, 243, 239, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.st-bar { display: flex; align-items: center; gap: 16px; height: 100px; }
.st-brand { text-decoration: none; flex-shrink: 0; }
/* Original NGN brand lockup, same as the home page (home.css). */
.brand-lockup { display: grid; gap: 6px; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; line-height: 1.2; }
.logo-bubbles { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.logo-bubbles span { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 4px 12px; border-radius: 999px; color: #fff; font-size: .72rem; font-weight: 700; background: linear-gradient(135deg, #72b5ec 0%, #4da2e4 100%); }
.logo-bubbles span::after { content: ""; position: absolute; bottom: -5px; left: 50%; width: 10px; height: 10px; background: inherit; clip-path: polygon(50% 100%, 0 0, 100% 0); transform: translateX(-50%); }
.logo-wordmark { color: #259ae6; font-size: 2rem; font-weight: 700; letter-spacing: .12em; line-height: .94; }
.logo-subtitle { color: #259ae6; font-size: .66rem; font-weight: 700; letter-spacing: .16em; }
.st-links { display: flex; gap: 2px; margin-left: 10px; font-size: 14px; }
.st-links a { padding: 5px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); }
.st-links a:hover { color: var(--ink); }
.st-links a[aria-current="page"] { color: var(--ink); font-weight: 700; background: var(--panel); }
.st-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.st-lang { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 3px; }
.st-lang button { border: 0; background: none; padding: 3px 10px; border-radius: 999px; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.st-lang button[aria-pressed="true"] { background: var(--panel); color: var(--ink); font-weight: 700; }
.st-cta { padding: 7px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.st-cta:hover { background: var(--red); }
@media (max-width: 720px) {
  .st-links { display: none; }
  .st-bar { height: 64px; gap: 8px; }
  .logo-bubbles { display: none; }
  .brand-lockup { gap: 4px; }
  .logo-wordmark { font-size: 26px; letter-spacing: .1em; }
  .logo-subtitle { font-size: 8px; letter-spacing: .1em; }
}

/* calculator */
.sc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.sc-form { background: var(--panel); border-radius: 18px; padding: 4px 20px; }
.sc-row { padding: 16px 0; }
.sc-row + .sc-row { border-top: 1px solid var(--paper-2); }
.sc-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sc-row h2 { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.sc-link { border: 0; background: none; padding: 0; color: var(--red); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.sc-pill { padding: 2px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 14px; font-weight: 700; }

/* box tiles */
.bx-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.bx { display: grid; justify-items: center; gap: 2px; padding: 10px 6px 8px; border-radius: 14px; border: 1.5px solid var(--paper-2); text-align: center; transition: border-color .15s, background .15s; }
.bx.is-on { border-color: var(--red); background: var(--red-soft); }
.bx-art { height: 50px; display: flex; align-items: flex-end; }
.bx-f { fill: #D9B98A; }
.bx-t { fill: #EAD3AC; }
.bx-s { fill: #B58E5B; }
.bx-tape { fill: rgba(255, 255, 255, .5); }
.bx-name { margin-top: 4px; font-weight: 700; font-size: 14px; line-height: 1.2; }
.bx-name b { font-size: 20px; }
.bx-size { font-size: 11px; color: var(--ink-3); }
.bx-price { font-size: 12px; color: var(--ink-2); }
.bx-price b { font-size: 15px; color: var(--ink); }
.bx .sc-step { margin-top: 6px; }

.sc-step { display: inline-flex; align-items: center; border-radius: 999px; background: var(--paper); }
.sc-step button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; font-size: 19px; line-height: 1; cursor: pointer; }
.sc-step button:hover { background: var(--paper-2); }
.sc-step output { min-width: 22px; text-align: center; font-weight: 700; font-size: 16px; }
.bx.is-on .sc-step { background: var(--panel); }
.sc-step-sm button { width: 30px; height: 30px; font-size: 17px; }

.sc-toggles { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; }
.sc-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.sc-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--red); }
.sc-heavy { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }

/* dates */
.sc-dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; }
.sc-dates > i { font-style: normal; color: var(--ink-3); padding-bottom: 10px; }
.sc-dates label { display: grid; gap: 4px; min-width: 0; font-size: 12px; color: var(--ink-3); }
.sc-dates input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--paper-2); border-radius: 12px; background: var(--paper); font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.sc-dates input:focus { border-color: var(--ink); outline: none; }

/* segmented choices */
.sc-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.sc-seg label { position: relative; }
.sc-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sc-seg span { display: block; text-align: center; padding: 9px 6px; border-radius: 12px; background: var(--paper); font-size: 14px; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; }
.sc-seg input:checked + span { background: var(--ink); color: #fff; font-weight: 700; }
.sc-seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.sc-seg-sub { margin-top: 6px; grid-auto-columns: auto; justify-content: start; gap: 4px; }
.sc-seg-sub span { padding: 4px 12px; font-size: 13px; background: transparent; border: 1.5px solid var(--paper-2); border-radius: 999px; }
.sc-seg-sub input:checked + span { background: var(--panel); color: var(--red); border-color: var(--red); }

/* result */
.sc-result { position: sticky; top: 116px; padding: 20px; border-radius: 18px; background: var(--ink); color: #fff; }
.sc-k { font-size: 13px; color: var(--night-2); }
.sc-total { font-size: 52px; font-weight: 700; line-height: 1.05; color: #5E6878; }
.sc-result.is-ready .sc-total { color: var(--brass); }
.sc-summary { margin-top: 4px; font-size: 14px; color: var(--night-2); }
.sc-lines { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #2B3754; display: grid; gap: 4px; font-size: 14px; }
.sc-lines:empty { display: none; }
.sc-lines div { display: flex; justify-content: space-between; gap: 12px; }
.sc-lines dt { color: #D5DBE6; }
.sc-lines dd { margin: 0; font-weight: 600; }
.sc-notes { margin: 10px 0 0; padding: 0 0 0 16px; font-size: 12px; color: var(--night-2); }
.sc-notes:empty { display: none; }
.st-btn { display: flex; align-items: center; justify-content: center; margin-top: 18px; min-height: 48px; border-radius: 999px; background: var(--red); color: var(--red-ink); font-size: 16px; font-weight: 700; text-decoration: none; }
.st-btn:hover { background: #B02E25; }
.sc-after { margin-top: 8px; text-align: center; font-size: 12px; color: var(--night-2); }
.sc-after b { color: #fff; font-weight: 500; }

.sc-bar { display: none; }

@media (max-width: 900px) {
  .sc { grid-template-columns: 1fr; }
  .sc-result { position: static; }
  .bx-grid { grid-template-columns: repeat(3, 1fr); }
  .sc-bar {
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 30;
    padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(26, 31, 38, .6);
    transform: translateY(160%); transition: transform .25s;
  }
  .sc-bar.is-on { transform: none; }
  .sc-bar span { font-size: 13px; color: var(--night-2); }
  .sc-bar b { font-size: 22px; color: var(--brass); }
  .sc-bar i { margin-left: auto; font-style: normal; font-size: 13px; }
}
@media (max-width: 520px) {
  .sc-form { padding: 2px 14px; border-radius: 16px; }
  .sc-row { padding: 14px 0; }
  .bx-grid { gap: 6px; }
  .bx { padding: 8px 4px 6px; }
  .bx-art { height: 40px; }
  .bx-art svg { transform: scale(.82); transform-origin: bottom center; }
  .sc-step button { width: 30px; height: 30px; }
  .sc-seg-4 { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .sc-total { font-size: 46px; }
}

/* rules */
.st-rules-grid { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: start; }
.st-tiers { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: 16px; overflow: hidden; font-size: 14px; }
.st-tiers caption { caption-side: top; text-align: left; padding: 0 0 6px; font-size: 13px; color: var(--ink-2); }
.st-tiers th, .st-tiers td { padding: 6px 16px; text-align: left; }
.st-tiers thead th { font-size: 12px; font-weight: 500; color: var(--ink-3); border-bottom: 1px solid var(--paper-2); }
.st-tiers td:first-child { font-family: var(--f-num); color: var(--ink-2); }
.st-tiers td:last-child, .st-tiers th:last-child { text-align: right; }
.st-tiers td:last-child { font-weight: 700; }
.st-tiers tr.is-on td { background: var(--red); color: #fff; }
.st-facts { margin: 0; padding: 4px 20px; background: var(--panel); border-radius: 16px; align-self: stretch; }
.st-facts div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 10px 0; font-size: 14px; }
.st-facts div + div { border-top: 1px solid var(--paper-2); }
.st-facts dt { font-weight: 700; }
.st-facts dd { margin: 0; color: var(--ink-2); }
@media (max-width: 720px) {
  .st-rules-grid { grid-template-columns: 1fr; }
  .st-facts { padding: 2px 14px; }
  .st-facts div { grid-template-columns: 72px 1fr; font-size: 13px; }
}

/* contact */
.st-contact { margin: 28px 0 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 14px 20px; border-radius: 16px; background: var(--panel); font-size: 14px; }
.st-contact-item { display: flex; align-items: center; gap: 8px; }
.st-contact-item span { color: var(--ink-3); font-size: 13px; }
.st-contact-item a { text-decoration: none; font-weight: 700; }
.st-copy { border: 0; border-radius: 999px; padding: 2px 10px; background: var(--red-soft); color: var(--red); font-size: 12px; font-weight: 700; cursor: pointer; }
.st-contact-link { margin-left: auto; color: var(--red); font-weight: 700; text-decoration: none; }
@media (max-width: 720px) {
  .st-contact { margin-bottom: 96px; padding: 12px 14px; gap: 8px 18px; }
  .st-contact-link { margin-left: 0; width: 100%; }
}

/* photo modal */
.st-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(15, 22, 38, .62); }
.st-modal-box { width: min(900px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border-radius: 18px; padding: 16px; }
.st-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.st-modal-head h2 { font-size: 18px; }
.st-modal-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); font-size: 22px; cursor: pointer; }
.st-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.st-photos img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--paper); }
@media (max-width: 520px) { .st-photos { grid-template-columns: 1fr; } }

/* hero: looping video with a short headline */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: heroZoom 18s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 22, 38, .86) 0%, rgba(15, 22, 38, .55) 55%, rgba(15, 22, 38, .2) 100%); }
.hero-in { position: relative; padding-top: 72px; padding-bottom: 64px; }
.hero-kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--brass); animation: rise .7s both; }
.hero h1 { margin-top: 10px; font-size: clamp(34px, 5vw, 60px); font-weight: 900; line-height: 1.15; }
.hero-ln { display: block; animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-ln + .hero-ln { animation-delay: .12s; }
.hero-btns { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; animation: rise .8s .25s both; }
.hero-btns .st-btn { margin-top: 0; padding: 0 26px; }
.st-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.st-btn-ghost:hover { background: #fff; color: var(--ink); }
.hero-stats { list-style: none; margin: 36px 0 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; animation: rise .8s .4s both; }
.hero-stats li { display: grid; padding: 10px 18px; border-radius: 14px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); min-width: 120px; }
.hero-stats b { font-size: 28px; line-height: 1.1; color: var(--brass); }
.hero-stats span { font-size: 12px; color: #D5DBE6; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.22) translateX(-2%); } }
@media (max-width: 720px) {
  .hero-shade { background: linear-gradient(180deg, rgba(15, 22, 38, .45) 0%, rgba(15, 22, 38, .88) 70%); }
  .hero-in { padding-top: 120px; padding-bottom: 28px; }
  .hero-btns .st-btn { flex: 1; padding: 0 12px; }
  .hero-stats { margin-top: 22px; gap: 6px; flex-wrap: nowrap; }
  .hero-stats li { flex: 1; min-width: 0; padding: 8px 10px; }
  .hero-stats b { font-size: 22px; }
  .hero-stats span { font-size: 11px; }
}

/* section headings + scroll reveal */
.sec-h { margin: 44px 0 14px; font-size: 24px; font-weight: 900; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 720px) { .sec-h { margin: 32px 0 12px; font-size: 21px; } }

/* why us */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-card { background: var(--panel); border-radius: 18px; overflow: hidden; padding-bottom: 16px; }
.why-card h3 { margin: 14px 16px 2px; font-size: 17px; }
.why-card p { margin: 0 16px; font-size: 13px; color: var(--ink-2); }
.why-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.why-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.why-card:hover .why-media img { transform: scale(1.06); }
.why-bars { background: #FBF0D9; display: flex; flex-direction: column; padding: 44px 16px 10px; }
.bars { flex: 1; min-height: 0; display: flex; align-items: flex-end; gap: 6px; }
.bars i { flex: 1; height: 0; border-radius: 6px 6px 2px 2px; background: #E8C98C; transition: height .9s cubic-bezier(.2, .8, .2, 1); }
.bars i:nth-child(n) { transition-delay: calc(var(--i, 0) * 70ms); }
.bars i.hot { background: var(--red); }
.why-card.in .bars i { height: var(--h); }
.bars-x { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--ink-2); }
.bars-tag { position: absolute; top: 14px; right: 14px; padding: 2px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 14px; opacity: 0; transform: scale(.6); transition: opacity .4s 1s, transform .4s 1s cubic-bezier(.3, 1.6, .5, 1); }
.why-card.in .bars-tag { opacity: 1; transform: none; }
.why-shield { display: grid; place-items: center; background: #E9EEF5; }
.why-shield svg { width: 42%; height: auto; }
.sh-body { fill: #fff; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 360; stroke-dashoffset: 360; transition: stroke-dashoffset 1.2s ease; }
.sh-tick { fill: none; stroke: var(--red); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset .5s 1s ease; }
.why-card.in .sh-body, .why-card.in .sh-tick { stroke-dashoffset: 0; }
.why-shield b { position: absolute; bottom: 12px; right: 14px; font-size: 22px; color: var(--ink); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
@media (max-width: 520px) {
  .why-card h3 { margin: 10px 12px 2px; font-size: 15px; }
  .why-card p { margin: 0 12px; font-size: 12px; }
  .why-card { padding-bottom: 12px; border-radius: 14px; }
  .bars { gap: 3px; }
}

/* how it goes: one animated line */
.flow { list-style: none; margin: 18px 0 0; padding: 14px 20px; display: flex; justify-content: space-between; position: relative; background: var(--panel); border-radius: 18px; counter-reset: f; }
.flow::before { content: ""; position: absolute; left: 44px; right: 44px; top: 34px; height: 2px; background: var(--paper-2); }
.flow::after { content: ""; position: absolute; left: 44px; right: 44px; top: 34px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.4s .3s ease; }
.flow.in::after { transform: scaleX(1); }
.flow li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; font-size: 14px; }
.flow-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 17px; }
.flow li:last-child .flow-ic { background: var(--red); }
@media (max-width: 520px) { .flow { padding: 12px 10px; } .flow li { font-size: 12px; } .flow-ic { width: 34px; height: 34px; font-size: 15px; } .flow::before, .flow::after { left: 30px; right: 30px; top: 29px; } }

/* special items */
.special-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.special-card { margin: 0; background: var(--panel); border-radius: 16px; overflow: hidden; }
.special-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.special-card figcaption { display: grid; padding: 10px 14px 12px; font-size: 13px; }
.special-card figcaption b { font-size: 15px; }
.special-card figcaption span { color: var(--red); font-weight: 700; }
.special-note { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
@media (max-width: 720px) {
  .special-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .special-row::-webkit-scrollbar { display: none; }
  .special-card { scroll-snap-align: start; }
}

/* small feedback animations */
.bx.pop { animation: pop .25s ease; }
@keyframes pop { 50% { transform: scale(1.05); } }

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-kicker, .hero-ln, .hero-btns, .hero-stats, .bx.pop { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bars i, .sh-body, .sh-tick, .flow::after, .bars-tag { transition: none; }
}
