/* Focused visual polish for support, tutorial and order-search pages. */

/* Shared controls */
body[data-page="kefu.html"] .button,
.tutorial-page .button,
.order-search-page .button {
  min-height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(94, 207, 255, .34);
  background: linear-gradient(180deg, rgba(12, 48, 86, .92), rgba(6, 27, 54, .96));
  color: #eefaff;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 10px 28px rgba(0, 7, 20, .18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body[data-page="kefu.html"] .button:hover,
.tutorial-page .button:hover,
.order-search-page .button:hover {
  filter: none;
  transform: translateY(-2px);
  border-color: rgba(89, 226, 255, .72);
  background: linear-gradient(180deg, rgba(17, 65, 112, .96), rgba(7, 35, 69, .98));
  box-shadow: 0 13px 28px rgba(0, 113, 200, .19), inset 0 1px rgba(255, 255, 255, .08);
}
body[data-page="kefu.html"] .button.primary,
.tutorial-page .button.primary,
.order-search-page .button.primary {
  border-color: rgba(84, 224, 255, .7);
  background: linear-gradient(110deg, #147eea, #10b9e9);
  box-shadow: 0 12px 30px rgba(7, 145, 225, .25), inset 0 1px rgba(255, 255, 255, .22);
}

/* Support cards */
body[data-page="kefu.html"] .kefu-hero {
  padding: 48px 0 38px;
  background:
    radial-gradient(circle at 72% 15%, rgba(27, 187, 232, .14), transparent 34%),
    linear-gradient(120deg, rgba(2, 13, 29, .97), rgba(4, 31, 60, .72));
}
body[data-page="kefu.html"] .kefu-section { padding: 44px 0 70px; }
body[data-page="kefu.html"] .kefu-contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}
body[data-page="kefu.html"] .kefu-card {
  --card-accent: 69, 215, 255;
  position: relative;
  min-height: 286px;
  padding: 30px 24px 24px;
  overflow: hidden;
  border: 1px solid rgba(var(--card-accent), .2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--card-accent), .11), transparent 38%),
    linear-gradient(155deg, rgba(8, 32, 60, .96), rgba(3, 17, 35, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .055), 0 18px 50px rgba(0, 8, 22, .2);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
body[data-page="kefu.html"] .kefu-card[data-service="chat"] { --card-accent: 75, 231, 186; }
body[data-page="kefu.html"] .kefu-card[data-service="sale"] { --card-accent: 137, 171, 255; }
body[data-page="kefu.html"] .kefu-card[data-service="promise"] { --card-accent: 77, 225, 245; }
body[data-page="kefu.html"] .kefu-card::before {
  content: "";
  position: absolute;
  left: 24%; right: 24%; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--card-accent), .86), transparent);
}
body[data-page="kefu.html"] .kefu-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--card-accent), .5);
  box-shadow: 0 24px 58px rgba(0, 12, 32, .34), 0 0 30px rgba(var(--card-accent), .07);
}
body[data-page="kefu.html"] .kefu-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border: 0;
  border-radius: 50%;
  color: rgb(var(--card-accent));
  background: radial-gradient(circle at 35% 28%, rgba(var(--card-accent), .25), rgba(var(--card-accent), .075) 58%, transparent 70%);
  box-shadow: 0 0 0 1px rgba(var(--card-accent), .25), 0 12px 35px rgba(var(--card-accent), .12);
}
body[data-page="kefu.html"] .kefu-icon .ui-svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(var(--card-accent), .34));
}
body[data-page="kefu.html"] .kefu-card h3 {
  margin: 0 0 11px;
  font-size: 21px;
  letter-spacing: .02em;
}
body[data-page="kefu.html"] .kefu-card p {
  min-height: 48px;
  margin: 0 auto 24px;
  color: #a9bed2;
  font-size: 14px;
  line-height: 1.7;
}
body[data-page="kefu.html"] .kefu-card .button {
  width: min(168px, 100%);
  margin-top: auto;
  padding: 10px 18px;
  font-size: 14px;
}
body[data-page="kefu.html"] .kefu-popular,
body[data-page="kefu.html"] .contact-prep-card {
  border-radius: 20px;
  border-color: rgba(74, 191, 239, .18);
  background: linear-gradient(145deg, rgba(6, 28, 54, .86), rgba(3, 16, 33, .95));
}

/* Tutorial hero and video */
.tutorial-page .tutorial-hero {
  padding: 52px 0 46px;
  background:
    radial-gradient(circle at 74% 20%, rgba(17, 184, 234, .16), transparent 32%),
    linear-gradient(115deg, #031022, #052a4d 58%, #031326);
}
.tutorial-page .tutorial-hero h1 { margin-top: 13px; font-size: clamp(36px, 4vw, 50px); }
.tutorial-page .tutorial-hero p { max-width: 720px; color: #aec5d9; }
.tutorial-page .tutorial-video-section { padding: 42px 0 28px; }
.tutorial-page .tutorial-shell { max-width: 960px !important; }
.tutorial-page .tutorial-video-card {
  max-width: 920px;
  margin-inline: auto;
  padding: 18px 18px 20px !important;
  border: 1px solid rgba(72, 208, 246, .2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 0%, rgba(16, 151, 219, .12), transparent 32%),
    linear-gradient(150deg, rgba(7, 30, 57, .97), rgba(2, 14, 29, .98));
  box-shadow: 0 30px 90px rgba(0, 6, 18, .34), inset 0 1px rgba(255, 255, 255, .055);
}
.tutorial-page .tutorial-video-card .compact-title {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 24px;
  margin: 0;
  padding: 10px 12px 18px;
  text-align: left;
}
.tutorial-page .tutorial-video-card .kicker { grid-column: 1 / -1; }
.tutorial-page .tutorial-video-card h2 { margin: 3px 0 0; font-size: 26px; }
.tutorial-page .tutorial-video-card .compact-title p { margin: 0 0 3px; color: #8faac2; }
.tutorial-page .tutorial-video-card video {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: 0;
  border: 1px solid rgba(86, 221, 255, .32);
  border-radius: 18px;
  background: #020915;
  box-shadow: 0 24px 65px rgba(0, 3, 12, .45), 0 0 0 1px rgba(255, 255, 255, .025);
  overflow: hidden;
}
.tutorial-page .tutorial-steps-section { padding-top: 34px; }
.tutorial-page .tutorial-flow-grid { gap: 16px; }
.tutorial-page .tutorial-card {
  border-radius: 18px;
  border-color: rgba(72, 193, 235, .18);
  background: linear-gradient(155deg, rgba(7, 30, 57, .91), rgba(3, 17, 34, .96));
}

/* Order search: stronger primary control and calmer supporting content */
.order-search-page .order-search-stage { padding: 38px 0 68px !important; }
.order-search-page .order-search-shell { width: min(1120px, calc(100% - 40px)) !important; }
.order-search-page .order-hero-copy { margin-bottom: 22px !important; }
.order-search-page .order-hero-copy h1 {
  margin: 0 0 7px !important;
  font-size: clamp(34px, 4vw, 48px) !important;
  letter-spacing: -.035em;
}
.order-search-page .order-hero-copy p { margin: 0; color: #95acc2 !important; }
.order-search-page .order-lookup-card {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  gap: 24px !important;
  padding: 30px 34px !important;
  border: 1px solid rgba(61, 201, 247, .35) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(20, 164, 228, .16), transparent 29%),
    linear-gradient(135deg, rgba(8, 42, 77, .97), rgba(4, 23, 47, .98)) !important;
  box-shadow: 0 24px 75px rgba(0, 7, 21, .34), inset 0 1px rgba(255, 255, 255, .07) !important;
}
.order-search-page .lookup-mark {
  display: grid !important;
  place-items: center;
  width: 68px !important;
  height: 68px !important;
  border: 0 !important;
  border-radius: 18px !important;
  color: #5ce5ff;
  background: linear-gradient(145deg, rgba(16, 117, 174, .32), rgba(6, 45, 84, .72)) !important;
  box-shadow: inset 0 0 0 1px rgba(82, 219, 255, .26), 0 16px 34px rgba(0, 14, 34, .2) !important;
}
.order-search-page .lookup-mark svg { width: 32px !important; height: 32px !important; }
.order-search-page .lookup-content h2 { margin: 0 0 4px !important; font-size: 25px !important; }
.order-search-page .lookup-content > p { margin: 0 0 18px !important; color: #8fa9bf !important; }
.order-search-page .lookup-form {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 178px !important;
  gap: 12px !important;
}
.order-search-page .lookup-form::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-58%);
  border: 2px solid #5fdff8;
  border-radius: 50%;
  opacity: .92;
  pointer-events: none;
}
.order-search-page .lookup-form::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 33px;
  top: calc(50% + 7px);
  width: 7px;
  height: 2px;
  transform: rotate(45deg);
  transform-origin: left center;
  border-radius: 2px;
  background: #5fdff8;
  pointer-events: none;
}
.order-search-page .order-lookup-card .field {
  height: 58px !important;
  padding: 0 20px 0 54px !important;
  border: 2px solid rgba(82, 202, 242, .54) !important;
  border-radius: 13px !important;
  outline: none !important;
  background: rgba(2, 14, 30, .88) !important;
  color: #f4fbff !important;
  font-size: 15px !important;
  font-weight: 650;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025), 0 10px 24px rgba(0, 7, 18, .2) !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.order-search-page .order-lookup-card .field::placeholder { color: #8199ae !important; opacity: 1; }
.order-search-page .order-lookup-card .field:hover {
  border-color: rgba(94, 220, 250, .76) !important;
  background: rgba(3, 19, 39, .96) !important;
}
.order-search-page .order-lookup-card .field:focus {
  border-color: #68e5ff !important;
  background: #031a34 !important;
  box-shadow: 0 0 0 4px rgba(55, 210, 247, .13), 0 14px 34px rgba(0, 8, 22, .28) !important;
}
.order-search-page .order-lookup-card .button {
  min-width: 0 !important;
  height: 58px !important;
  padding: 0 24px !important;
  border-radius: 13px !important;
  font-size: 15px !important;
}
.order-search-page .lookup-safe-note { margin-top: 14px !important; color: #8ea7bc !important; }
.order-search-page .order-capability-grid {
  gap: 0 !important;
  margin-top: 24px !important;
  padding: 8px !important;
  overflow: hidden;
  border: 1px solid rgba(66, 175, 218, .14);
  border-radius: 17px;
  background: rgba(4, 22, 43, .62);
}
.order-search-page .order-capability-card {
  min-height: 112px !important;
  padding: 19px 22px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.order-search-page .order-capability-card + .order-capability-card { border-left: 1px solid rgba(76, 181, 222, .12) !important; }
.order-search-page .order-capability-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: rgba(22, 118, 164, .12) !important;
  box-shadow: inset 0 0 0 1px rgba(76, 207, 241, .18) !important;
}
.order-search-page .order-capability-card h3 { font-size: 15px !important; }
.order-search-page .order-capability-card p { font-size: 12px !important; color: #8299ae !important; }
.order-search-page .order-fill-faq { margin-top: 30px !important; }
.order-search-page .order-fill-heading { margin-bottom: 13px !important; }
.order-search-page .order-faq-grid {
  gap: 1px !important;
  padding: 1px;
  overflow: hidden;
  border: 1px solid rgba(66, 175, 218, .14);
  border-radius: 17px;
  background: rgba(69, 177, 219, .1);
}
.order-search-page .order-faq-card {
  min-height: 112px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(3, 21, 42, .94) !important;
  box-shadow: none !important;
}
.order-search-page .order-faq-icon,
.order-search-page .order-faq-arrow { opacity: .62; }
.order-search-page .order-contact-help-card {
  margin-top: 24px !important;
  border-radius: 17px !important;
  border-color: rgba(67, 186, 229, .17) !important;
  background: linear-gradient(120deg, rgba(6, 34, 63, .82), rgba(4, 24, 47, .88)) !important;
}

@media (max-width: 920px) {
  body[data-page="kefu.html"] .kefu-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-search-page .order-lookup-card { grid-template-columns: 58px minmax(0, 1fr) !important; padding: 25px !important; }
  .order-search-page .lookup-mark { width: 56px !important; height: 56px !important; }
}

@media (max-width: 620px) {
  body[data-page="kefu.html"] .kefu-contact-grid { grid-template-columns: 1fr; }
  body[data-page="kefu.html"] .kefu-card { min-height: 250px; }
  .tutorial-page .tutorial-video-card .compact-title { grid-template-columns: 1fr; }
  .tutorial-page .tutorial-video-card { padding: 12px 12px 14px !important; border-radius: 18px; }
  .tutorial-page .tutorial-video-card video { border-radius: 13px; }
  .order-search-page .order-search-shell { width: calc(100% - 24px) !important; }
  .order-search-page .order-lookup-card { grid-template-columns: 1fr !important; gap: 16px !important; padding: 21px 18px !important; }
  .order-search-page .lookup-mark { width: 50px !important; height: 50px !important; }
  .order-search-page .lookup-form { grid-template-columns: 1fr !important; }
  .order-search-page .lookup-form::before { top: 29px; }
  .order-search-page .lookup-form::after { top: 36px; }
  .order-search-page .order-capability-grid { grid-template-columns: 1fr !important; }
  .order-search-page .order-capability-card + .order-capability-card { border-left: 0 !important; border-top: 1px solid rgba(76, 181, 222, .12) !important; }
  .order-search-page .order-faq-grid { grid-template-columns: 1fr !important; }
}
