/*
 * WorldBuyingKorea promotional landing page
 * Dark theme / responsive / no external dependencies
 */
:root {
  --bg: #07111f;
  --bg-deep: #040a13;
  --surface: #0d1b2d;
  --surface-2: #11243a;
  --surface-3: #152b44;
  --line: rgba(163, 194, 224, 0.16);
  --line-strong: rgba(163, 194, 224, 0.28);
  --text: #f3f7fb;
  --text-soft: #b9c8d8;
  --text-muted: #8095ab;
  --accent: #42d6c4;
  --accent-strong: #77eadc;
  --accent-blue: #4f8cff;
  --warning: #f6c768;
  --danger: #ff8d8d;
  --success: #72e1ab;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --font: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #03120f;
  font-weight: 800;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 120px 0; }
.section-muted {
  background:
    radial-gradient(circle at 12% 22%, rgba(79, 140, 255, 0.09), transparent 30%),
    linear-gradient(180deg, #091626 0%, #0a1727 100%);
  border-block: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 13, 23, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; flex: 0 0 42px; filter: drop-shadow(0 8px 16px rgba(66, 214, 196, 0.15)); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 16px; letter-spacing: 0.01em; }
.brand-copy small { margin-top: 5px; color: var(--text-muted); font-size: 12px; }
.primary-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.primary-nav a { position: relative; white-space: nowrap; color: var(--text-soft); font-weight: 700; font-size: 14px; transition: color 180ms ease; }
.primary-nav a:not(.nav-cta):not(.nav-login)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--text); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-login { padding: 10px 17px; border: 1px solid rgba(79, 140, 255, 0.45); border-radius: 999px; color: #dce8ff !important; background: rgba(79, 140, 255, 0.10); }
.nav-login:hover { background: rgba(79, 140, 255, 0.18); border-color: rgba(79, 140, 255, 0.68); }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(66, 214, 196, 0.48); border-radius: 999px; color: var(--accent-strong) !important; }
.nav-cta:hover { background: rgba(66, 214, 196, 0.09); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 4px; background: var(--text); }

.section-shell { position: relative; overflow: hidden; }
.hero { min-height: 760px; display: flex; align-items: center; padding: 96px 0 88px; background: linear-gradient(180deg, #06101d 0%, #07111f 100%); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.27;
  background-image: linear-gradient(rgba(129, 162, 194, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(129, 162, 194, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-glow-one { width: 480px; height: 480px; right: -120px; top: -150px; background: rgba(66, 214, 196, 0.11); }
.hero-glow-two { width: 420px; height: 420px; left: -210px; bottom: -180px; background: rgba(79, 140, 255, 0.11); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.94fr 1.06fr; align-items: center; gap: 44px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--accent-strong); font-size: 12px; font-weight: 900; letter-spacing: 0.16em; }
.eyebrow span { width: 30px; height: 2px; background: var(--accent); box-shadow: 0 0 14px rgba(66, 214, 196, 0.7); }
.hero h1 { margin: 0; font-size: clamp(48px, 5.4vw, 78px); line-height: 1.12; letter-spacing: -0.055em; }
.hero h1 em { color: var(--accent-strong); font-style: normal; }
.hero-lead { max-width: 620px; margin: 28px 0 0; color: var(--text-soft); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; white-space: nowrap; align-items: center; justify-content: center; min-height: 54px; padding: 0 25px; border: 1px solid transparent; border-radius: 14px; font-weight: 900; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid rgba(119, 234, 220, 0.42); outline-offset: 3px; }
.button-primary { background: linear-gradient(135deg, var(--accent-strong), var(--accent)); color: #031410; box-shadow: 0 14px 34px rgba(66, 214, 196, 0.2); }
.button-primary:hover { box-shadow: 0 18px 42px rgba(66, 214, 196, 0.29); }
.button-secondary { border-color: var(--line-strong); background: rgba(17, 36, 58, 0.72); color: var(--text); }
.button-secondary:hover { border-color: rgba(119, 234, 220, 0.4); background: var(--surface-2); }
.button-full { width: 100%; border: 0; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 18px 25px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--text-soft); font-size: 14px; font-weight: 700; }
.hero-checks li { position: relative; padding-left: 21px; }
.hero-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.hero-visual { position: relative; min-width: 0; }
.hero-visual > img { width: 100%; filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.34)); }
.floating-card { position: absolute; display: flex; align-items: center; gap: 11px; min-width: 186px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 15px; background: rgba(9, 25, 42, 0.84); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.floating-card-top { top: 13%; right: 0; }
.floating-card-bottom { left: 2%; bottom: 8%; }
.floating-card small { display: block; color: var(--text-muted); font-size: 11px; }
.floating-card strong { display: block; margin-top: 2px; font-size: 13px; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(66, 214, 196, 0.12), 0 0 18px rgba(66, 214, 196, 0.7); }

.trust-strip { border-block: 1px solid var(--line); background: #081523; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 104px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { color: var(--accent); font-size: 12px; letter-spacing: 0.1em; }
.trust-grid span { color: var(--text-soft); font-size: 14px; font-weight: 800; }

.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading h2, .process-intro h2, .feature-content h2, .contact-copy h2 { margin: 0; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.25; letter-spacing: -0.045em; }
.section-heading > p:last-child, .process-intro > p, .contact-copy > p { margin: 20px 0 0; color: var(--text-soft); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 330px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(160deg, rgba(19, 42, 67, 0.86), rgba(10, 24, 40, 0.92)); transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.service-card::after { content: ""; position: absolute; width: 140px; height: 140px; right: -70px; bottom: -70px; border-radius: 50%; background: rgba(66, 214, 196, 0.06); }
.service-card:hover { transform: translateY(-8px); border-color: rgba(66, 214, 196, 0.35); box-shadow: var(--shadow); }
.icon-box { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid rgba(66, 214, 196, 0.22); border-radius: 18px; background: rgba(66, 214, 196, 0.07); }
.card-number { margin: 26px 0 12px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: 0.15em; }
.service-card h3 { margin: 0; font-size: 21px; }
.service-card > p:last-child { margin: 15px 0 0; color: var(--text-soft); font-size: 14px; line-height: 1.9; }

.process-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 90px; align-items: start; }
.process-intro { position: sticky; top: 128px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--accent-strong); font-weight: 900; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(5px); }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 1px; background: linear-gradient(var(--accent), rgba(79, 140, 255, 0.2)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 0 0 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-number { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(66, 214, 196, 0.4); border-radius: 18px; background: var(--surface); color: var(--accent-strong); font-size: 18px; font-weight: 900; box-shadow: 0 0 0 8px #0a1727; }
.timeline-item > div { padding: 4px 0 0; }
.timeline-item small { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: 0.16em; }
.timeline-item h3 { margin: 6px 0 8px; font-size: 23px; }
.timeline-item p { margin: 0; color: var(--text-soft); }

.feature-panel { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 65px; padding: 54px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(14, 31, 51, 0.96), rgba(8, 20, 34, 0.98)); box-shadow: var(--shadow); }
.feature-art { position: relative; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #091727; }
.feature-art::after { content: ""; position: absolute; inset: auto 12% 0; height: 30%; background: rgba(66, 214, 196, 0.12); filter: blur(50px); }
.feature-list { display: grid; gap: 22px; margin-top: 36px; }
.feature-list article { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.feature-list article > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(66, 214, 196, 0.09); color: var(--accent); font-size: 12px; font-weight: 900; }
.feature-list h3 { margin: 0 0 5px; font-size: 18px; }
.feature-list p { margin: 0; color: var(--text-soft); font-size: 14px; }

.notice-section { padding: 0 0 120px; }
.notice-card { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 30px 34px; border: 1px solid rgba(246, 199, 104, 0.23); border-radius: var(--radius-md); background: rgba(246, 199, 104, 0.055); }
.notice-card h2 { margin: 0 0 7px; color: #ffe2a7; font-size: 18px; }
.notice-card p { margin: 0; color: #d7c7a6; font-size: 14px; }

.faq-layout { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 80px; align-items: start; }
.faq-heading { margin-bottom: 0; }
.accordion { border-top: 1px solid var(--line-strong); }
details { border-bottom: 1px solid var(--line-strong); }
summary { position: relative; padding: 26px 52px 26px 4px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 800; }
summary::-webkit-details-marker { display: none; }
summary span::before, summary span::after { content: ""; position: absolute; top: 50%; right: 12px; width: 16px; height: 2px; background: var(--accent); transition: transform 180ms ease; }
summary span::after { transform: rotate(90deg); }
details[open] summary span::after { transform: rotate(0); }
details p { margin: -5px 52px 26px 4px; color: var(--text-soft); font-size: 14px; line-height: 1.9; }

.contact-section { position: relative; overflow: hidden; background: #06101c; }
.contact-section::before { content: ""; position: absolute; width: 620px; height: 620px; right: -260px; top: -200px; border-radius: 50%; background: rgba(66, 214, 196, 0.08); filter: blur(12px); }
.contact-grid { position: relative; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 80px; align-items: start; }
.contact-methods { display: grid; gap: 12px; margin-top: 36px; }
.contact-method { display: flex; align-items: center; gap: 15px; max-width: 390px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: rgba(17, 36, 58, 0.55); transition: border-color 180ms ease, transform 180ms ease; }
.contact-method:hover { transform: translateX(5px); border-color: rgba(66, 214, 196, 0.35); }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(66, 214, 196, 0.1); color: var(--accent); font-size: 18px; font-weight: 900; }
.contact-method small { display: block; color: var(--text-muted); font-size: 11px; }
.contact-method strong { display: block; margin-top: 2px; font-size: 15px; overflow-wrap: anywhere; }
.business-hours { color: var(--text-muted) !important; font-size: 13px !important; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(13, 29, 48, 0.92); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; }
.form-row { margin-bottom: 17px; }
.form-row label { display: block; margin-bottom: 7px; color: var(--text-soft); font-size: 13px; font-weight: 800; }
input, textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; background: #081522; color: var(--text); outline: 0; transition: border-color 180ms ease, box-shadow 180ms ease; }
input { height: 50px; padding: 0 15px; }
textarea { min-height: 140px; padding: 13px 15px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #61768c; }
input:focus, textarea:focus { border-color: rgba(66, 214, 196, 0.62); box-shadow: 0 0 0 4px rgba(66, 214, 196, 0.08); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: rgba(255, 141, 141, 0.7); }
.field-error { min-height: 19px; margin: 4px 0 0; color: var(--danger); font-size: 11px; line-height: 1.5; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 0; color: var(--text-soft); font-size: 12px; cursor: pointer; }
.consent-row input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.form-note { margin: 13px 0 0; color: var(--text-muted); font-size: 11px; text-align: center; }
.form-status { min-height: 22px; margin-top: 8px; font-size: 12px; text-align: center; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }

.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.7fr 1fr; gap: 50px; }
.footer-brand { margin-bottom: 16px; }
.footer-brand img { width: 38px; height: 38px; flex-basis: 38px; }
.footer-grid > div:first-child > p { max-width: 390px; margin: 0; color: var(--text-muted); font-size: 13px; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links a { color: var(--text-soft); font-size: 13px; }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { display: grid; grid-template-columns: 58px 1fr; margin: 0 0 8px; font-size: 13px; }
.footer-contact span { color: var(--text-muted); }
.footer-contact a { color: var(--text-soft); overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); color: #607388; font-size: 11px; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal-delay { transition-delay: 130ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr 0.95fr; gap: 20px; }
  .hero h1 { font-size: clamp(44px, 6.2vw, 64px); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-panel { gap: 38px; padding: 40px; }
}

@media (max-width: 860px) {
  .section { padding: 90px 0; }
  .menu-button { display: block; }
  .primary-nav { position: fixed; inset: 78px 0 auto; display: grid; gap: 0; padding: 15px 20px 24px; background: rgba(5, 13, 23, 0.98); border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: transform 220ms ease, opacity 220ms ease; }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .nav-cta { margin-top: 12px; padding: 13px 18px !important; border-bottom: 1px solid rgba(66, 214, 196, 0.48) !important; text-align: center; }
  .hero { padding: 80px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero-content .eyebrow, .hero-actions, .hero-checks { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { width: min(700px, 100%); margin: 24px auto 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-layout, .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-intro { position: static; }
  .feature-panel { grid-template-columns: 1fr; }
  .feature-art { max-width: 680px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 70px; }
  .primary-nav { inset: 70px 0 auto; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 10px; }
  .hero { padding-top: 62px; }
  .hero h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-checks { gap: 10px 18px; }
  .floating-card { transform: scale(0.82); }
  .floating-card-top { right: -20px; }
  .floating-card-bottom { left: -20px; }
  .section-heading h2, .process-intro h2, .feature-content h2, .contact-copy h2 { font-size: 36px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .feature-panel { padding: 22px; border-radius: 22px; }
  .notice-section { padding-bottom: 90px; }
  .notice-card { grid-template-columns: 1fr; padding: 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   로그인 / 메인 페이지
   ============================================================ */
.login-page,
.main-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(66, 214, 196, 0.12), transparent 32%),
    radial-gradient(circle at 90% 0%, rgba(79, 140, 255, 0.12), transparent 36%),
    var(--bg);
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 20px;
}
.auth-card {
  width: min(100%, 460px);
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(13, 29, 48, 0.94);
  box-shadow: var(--shadow);
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}
.auth-brand img { width: 42px; height: 42px; }
.auth-brand span { display: grid; line-height: 1.15; }
.auth-brand strong { font-size: 16px; }
.auth-brand small { margin-top: 5px; color: var(--text-muted); font-size: 12px; }
.auth-heading h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.auth-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 15px;
}
.auth-alert {
  margin: 24px 0 0;
  padding: 13px 15px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
}
.auth-alert-error { border: 1px solid rgba(255, 141, 141, 0.28); background: rgba(255, 141, 141, 0.08); color: #ffd0d0; }
.auth-alert-success { border: 1px solid rgba(114, 225, 171, 0.28); background: rgba(114, 225, 171, 0.08); color: #c9ffe1; }
.auth-alert-warning { border: 1px solid rgba(246, 199, 104, 0.28); background: rgba(246, 199, 104, 0.08); color: #ffe5af; }
.auth-form { display: grid; gap: 10px; margin-top: 26px; }
.auth-form label:not(.auth-check) {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
}
.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0 10px;
  color: var(--text-soft);
  font-size: 13px;
  cursor: pointer;
}
.auth-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.auth-help {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 13, 23, 0.88);
  backdrop-filter: blur(18px);
}
.app-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logout-form { margin: 0; }
.app-main { padding: 78px 0 110px; }
.dashboard-hero {
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14, 31, 51, 0.96), rgba(8, 20, 34, 0.98));
  box-shadow: var(--shadow);
}
.dashboard-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.2;
  letter-spacing: -0.05em;
}
.dashboard-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 17px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.dashboard-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(13, 29, 48, 0.78);
}
.dashboard-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.dashboard-card h2 {
  margin: 18px 0 10px;
  font-size: 22px;
}
.dashboard-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav-login { margin-top: 12px; padding: 13px 18px !important; text-align: center; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-hero { padding: 30px; }
}

@media (max-width: 620px) {
  .auth-card { padding: 26px; border-radius: 22px; }
  .auth-heading h1 { font-size: 34px; }
  .app-header-inner { min-height: 70px; }
  .app-header .brand-copy small { display: none; }
  .dashboard-hero { padding: 24px; }
}


/* ============================================================
   회원가입 화면 보강
   ============================================================ */
.auth-card-wide {
  width: min(100%, 520px);
}
.auth-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0 18px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-divider span {
  padding: 0 13px;
}
.field-error {
  margin: 3px 0 0;
  color: #ffd0d0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.auth-alert p {
  margin: 0;
}

/* ============================================================
   마켓별 상품 페이지
   ============================================================ */
.product-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(66, 214, 196, 0.12), transparent 32%),
    radial-gradient(circle at 92% 4%, rgba(79, 140, 255, 0.12), transparent 34%),
    var(--bg);
}
.product-nav .is-active {
  color: var(--accent-strong);
}
.product-nav .is-active::after {
  transform: scaleX(1) !important;
  transform-origin: left !important;
}
.product-main {
  padding: 86px 0 110px;
}
.product-hero {
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14, 31, 51, 0.96), rgba(8, 20, 34, 0.98));
  box-shadow: var(--shadow);
}
.product-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.18;
  letter-spacing: -0.055em;
}
.product-hero p {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.9;
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.market-card {
  display: grid;
  align-content: start;
  min-height: 288px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(19, 42, 67, 0.86), rgba(10, 24, 40, 0.94));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.market-card:hover {
  transform: translateY(-6px);
  border-color: rgba(66, 214, 196, 0.35);
  box-shadow: var(--shadow);
}
.market-order {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(66, 214, 196, 0.24);
  border-radius: 14px;
  color: var(--accent);
  background: rgba(66, 214, 196, 0.08);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.market-copy h2 {
  margin: 24px 0 10px;
  font-size: 22px;
  line-height: 1.35;
}
.market-copy p {
  min-height: 70px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  word-break: break-all;
}
.market-button {
  width: 100%;
  margin-top: 22px;
  min-height: 50px;
  padding-inline: 16px;
  font-size: 14px;
}
.product-note {
  margin-top: 24px;
  padding: 26px 30px;
  border: 1px solid rgba(246, 199, 104, 0.24);
  border-radius: var(--radius-md);
  background: rgba(246, 199, 104, 0.055);
}
.product-note h2 {
  margin: 0 0 8px;
  color: #ffe2a7;
  font-size: 18px;
}
.product-note p {
  margin: 0;
  color: #d7c7a6;
  font-size: 14px;
  line-height: 1.8;
}
.app-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.app-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-nav a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}
.app-nav a:hover,
.app-nav a:focus-visible {
  color: var(--accent-strong);
  border-color: rgba(66, 214, 196, 0.42);
  background: rgba(66, 214, 196, 0.08);
}

@media (max-width: 1180px) {
  .market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .product-main { padding-top: 54px; }
  .product-hero { padding: 30px; }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-header-inner { align-items: flex-start; padding-block: 14px; }
  .app-actions { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 620px) {
  .product-hero { padding: 24px; }
  .market-grid { grid-template-columns: 1fr; }
  .market-card { min-height: auto; }
  .market-copy p { min-height: auto; }
  .app-header-inner { display: grid; }
  .app-actions { justify-content: flex-start; }
}


/* ============================================================
   추천 메뉴 추가 페이지 공통 스타일
   ============================================================ */
.content-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 14%, rgba(66, 214, 196, 0.10), transparent 32%),
    radial-gradient(circle at 88% 6%, rgba(79, 140, 255, 0.12), transparent 34%),
    var(--bg);
}
.content-nav .is-active,
.primary-nav .is-active {
  color: var(--accent-strong);
}
.content-nav .is-active::after,
.primary-nav .is-active::after {
  transform: scaleX(1) !important;
  transform-origin: left !important;
}
.menu-main {
  padding: 86px 0 110px;
}
.menu-hero {
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14, 31, 51, 0.96), rgba(8, 20, 34, 0.98));
  box-shadow: var(--shadow);
}
.menu-hero h1 {
  margin: 0;
  white-space: pre-line;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.18;
  letter-spacing: -0.055em;
}
.menu-hero p:not(.eyebrow),
.menu-note {
  max-width: 860px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.9;
}
.menu-note {
  padding: 16px 18px;
  border: 1px solid rgba(246, 199, 104, 0.24);
  border-radius: 16px;
  color: #ffe2a7 !important;
  background: rgba(246, 199, 104, 0.06);
}
.menu-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.menu-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(19, 42, 67, 0.86), rgba(10, 24, 40, 0.94));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}
.menu-card span,
.menu-step strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(66, 214, 196, 0.24);
  border-radius: 14px;
  color: var(--accent);
  background: rgba(66, 214, 196, 0.08);
  font-size: 12px;
  font-weight: 900;
}
.menu-card h2 {
  margin: 24px 0 10px;
  font-size: 22px;
}
.menu-card p,
.menu-step p,
.menu-section p,
.menu-cta-panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}
.menu-section {
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(13, 29, 48, 0.72);
}
.menu-section h2 {
  margin: 0 0 18px;
  font-size: 26px;
}
.menu-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-step {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(7, 17, 31, 0.54);
}
.menu-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.menu-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid rgba(66, 214, 196, 0.24);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(66, 214, 196, 0.10), rgba(79, 140, 255, 0.08));
}
.menu-cta-panel h2 {
  margin: 0 0 8px;
  font-size: 24px;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.info-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: var(--text-soft);
  font-size: 14px;
}
.info-table th,
.info-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.info-table th {
  color: var(--text);
  background: rgba(66, 214, 196, 0.08);
}
.info-table tr:last-child td {
  border-bottom: 0;
}
.dashboard-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dashboard-card .text-link {
  display: inline-flex;
  margin-top: 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

@media (max-width: 1180px) {
  .menu-card-grid,
  .menu-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .primary-nav { flex-wrap: nowrap; justify-content: stretch; }
  .menu-main { padding-top: 54px; }
  .menu-hero { padding: 30px; }
  .menu-cta-panel { display: grid; }
  .dashboard-grid-wide { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .menu-hero,
  .menu-section,
  .menu-cta-panel { padding: 24px; }
  .menu-card-grid,
  .menu-steps { grid-template-columns: 1fr; }
}
