/* ========== Tokens ========== */
:root {
  --lime: #CDDC39;
  --lime-deep: #AFBF2A;
  --yellow: #FFEB3B;
  --orange: #FF9800;
  --orange-deep: #F57C00;
  --ink: #1A1A2E;
  --muted: #6B7280;
  --border: #E5E7EB;
  --surface: #FFFFFF;
  --soft: #FAFAF2;
  --kakao: #FEE500;
  --kakao-ink: #191600;
  --telegram: #229ED9;
  --telegram-deep: #1B87BA;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 14px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 24px 40px -20px rgba(26,26,46,0.25), 0 10px 20px -10px rgba(26,26,46,0.15);

  --container: min(92%, 1140px);
  --header-h: 64px;
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; top: -100%; left: 0; z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--ink); color: #fff; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { top: 0; }

.container { width: var(--container); margin-inline: auto; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { border-radius: 50%; }
.brand__name { font-weight: 800; font-size: 1.05rem; display: inline-flex; flex-direction: column; line-height: 1.15; }
.brand__name small { font-size: 0.7rem; color: var(--muted); font-weight: 600; letter-spacing: 0.08em; }

.site-nav { display: none; gap: 1.5rem; font-weight: 600; color: var(--ink); }
.site-nav a { padding: 8px 4px; position: relative; }
.site-nav a:hover { color: var(--orange-deep); }

@media (min-width: 48rem) {
  .site-nav { display: flex; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  min-height: 44px;
  transition: transform 120ms ease-out, box-shadow 150ms ease-out, background-color 150ms;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--orange-deep); }
.btn--signal { background: var(--ink); color: #fff; }
.btn--kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn--kakao:hover { background: #FFD500; }
.btn--telegram { background: var(--telegram); color: #fff; }
.btn--telegram:hover { background: var(--telegram-deep); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn--ghost:hover { background: var(--soft); }
.btn--call { padding: 10px 14px; }
.btn--lg { padding: 16px 26px; font-size: 1.05rem; min-height: 52px; }

@media (max-width: 30rem) {
  .btn--call .btn__text { display: none; }
}

/* ========== Hero ========== */
.hero {
  background:
    radial-gradient(1200px 500px at 110% -10%, rgba(255,235,59,0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 100%, rgba(205,220,57,0.35), transparent 60%),
    linear-gradient(180deg, #fffef3 0%, #ffffff 100%);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
.hero__copy { max-width: 38rem; }
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255,152,0,0.12);
  color: var(--orange-deep);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 1.4rem + 3.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.accent { color: var(--lime-deep); }
.lead {
  margin-top: 1rem;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
  color: var(--muted);
}
.cta-row { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 10px; }
.cta-row--center { justify-content: center; }
.trust-badges {
  margin-top: 1.75rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
}
.trust-badges li { padding: 4px 0; }

.hero__visual {
  margin: 0;
  display: flex; justify-content: center; align-items: center;
}
.hero__visual img {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(175, 191, 42, 0.35));
}

@media (min-width: 60rem) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Rate Banner ========== */
.rate-banner {
  background: linear-gradient(90deg, var(--lime), var(--yellow));
  color: var(--ink);
}
.rate-banner__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0;
}
.rate-banner strong { font-size: 1.05rem; display: block; }
.rate-banner p { font-size: 0.95rem; color: rgba(26,26,46,0.75); margin-top: 2px; }

/* ========== Sections ========== */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--soft { background: var(--soft); }
.section-title {
  font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.25rem);
  font-weight: 900;
  text-align: center;
}
.section-sub {
  text-align: center; color: var(--muted); margin-top: 10px; margin-bottom: 2.5rem;
  font-size: 1.02rem;
}

/* About */
.about-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
.about-grid article {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.about-grid h3 {
  font-size: 1.2rem; margin-bottom: 10px; color: var(--orange-deep);
}
@media (min-width: 48rem) { .about-grid { grid-template-columns: repeat(3, 1fr); } }

/* Items */
.items-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.item-card {
  background: var(--surface);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 180ms ease-out, box-shadow 180ms, border-color 180ms;
}
.item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--lime);
}
.item-card__tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.item-card strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.item-card p { color: var(--muted); font-size: 0.95rem; }
.items-note { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* Process */
.process-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}
.process-step {
  position: relative;
  background: var(--surface);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.process-step__num {
  position: absolute; top: -18px; left: 20px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff;
  border-radius: 50%; font-weight: 900; font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(255,152,0,0.4);
}
.process-step h3 { font-size: 1.1rem; margin: 8px 0 8px; }
.process-step p { color: var(--muted); font-size: 0.95rem; }

/* Why (benefits) */
.why-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.why-card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.why-card__icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--lime), var(--yellow));
  font-size: 1.6rem;
  border-radius: 14px;
  margin-bottom: 14px;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: border-color 150ms;
}
.faq-item[open] { border-color: var(--lime); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem; color: var(--orange); font-weight: 300;
  transition: transform 200ms;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Final CTA */
.final-cta {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
  background: linear-gradient(135deg, var(--lime) 0%, var(--yellow) 100%);
}
.final-cta h2 {
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  font-weight: 900;
}
.final-cta p { margin-top: 8px; color: rgba(26,26,46,0.72); font-size: 1.05rem; }

/* ========== Floating CTA ========== */
.floating-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  z-index: 90;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.1);
}
.floating-cta--3col { grid-template-columns: 1fr 1fr 1fr; }
.floating-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 16px 4px;
  font-weight: 800; font-size: 0.95rem;
  min-height: 56px;
  border: 0;
}
.floating-cta__btn--call { background: var(--orange); color: #fff; }
.floating-cta__btn--sms { background: var(--ink); color: #fff; }
.floating-cta__btn--telegram { background: var(--telegram); color: #fff; }
.floating-cta__btn--kakao { background: var(--kakao); color: var(--kakao-ink); }

@media (min-width: 48rem) {
  .floating-cta { display: none; }
}
body { padding-bottom: 64px; }
@media (min-width: 48rem) { body { padding-bottom: 0; } }

/* ========== Footer ========== */
.site-footer {
  background: #0F1020; color: #D1D5DB;
  padding-top: 3rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
}
.footer-logo {
  background: #fff; padding: 8px 14px;
  border-radius: var(--radius-sm);
  width: 200px; height: auto;
}
.footer-desc { margin-top: 12px; color: #9CA3AF; }
.site-footer h3 {
  color: #FFF; font-size: 1rem; margin-bottom: 12px; letter-spacing: 0.02em;
}
.site-footer ul { display: grid; gap: 6px; font-size: 0.92rem; }
.site-footer a { color: #E5E7EB; text-decoration: underline; text-decoration-color: #4B5563; text-underline-offset: 3px; }
.site-footer a:hover { color: #FFF; text-decoration-color: var(--lime); }
.ph { color: #9CA3AF; font-style: italic; }
.policy-note {
  margin-top: 14px; font-size: 0.85rem; color: #9CA3AF; line-height: 1.7;
  padding: 12px; background: rgba(255,255,255,0.04); border-radius: var(--radius-sm);
}
.copyright {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  color: #6B7280;
}

@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 1fr 1.1fr 1.1fr; gap: 3rem; }
}

/* ========== Watch highlight card ========== */
.item-card--watch {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFFDF0 100%);
  border-color: var(--orange);
  box-shadow: 0 8px 24px -12px rgba(255,152,0,0.35);
}
.item-card--watch:hover { border-color: var(--orange-deep); }
.item-card__tag--watch {
  background: var(--orange);
  color: #fff;
}

/* ========== Copy button (KakaoTalk ID) ========== */
.link-btn {
  background: none; border: 0; padding: 0;
  color: #E5E7EB;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--kakao);
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: #FFF; }
.link-btn:active { opacity: 0.7; }

/* ========== Toast ========== */
.toast {
  position: fixed; left: 50%; bottom: 88px;
  transform: translateX(-50%) translateY(100%);
  z-index: 200;
  background: var(--ink); color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.92rem; font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: transform 250ms ease-out, opacity 250ms ease-out;
  max-width: 90vw; text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (min-width: 48rem) {
  .toast { bottom: 32px; }
}

/* ========== Motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
