/* ════════════════════════════════════════════════════════════
   bekah.ai — loyalty.css
   Loyalty Program 페이지 (Coming Soon)
   base.css / components.css 충돌 없음
   ════════════════════════════════════════════════════════════ */

/* ─── 배경 히브리어 ──────────────────────────────────────── */
.loy-bg-heb {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-display);
  font-size: clamp(16rem, 40vw, 32rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(201, 146, 74, 0.03);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.03em;
  z-index: 0;
  white-space: nowrap;
}

/* ─── Hero ───────────────────────────────────────────────── */
.loy-hero {
  position: relative;
  padding: 7rem 3.5rem 5rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  z-index: 1;
}
.loy-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.loy-eyebrow {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out-expo) 0.3s forwards;
}
.loy-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold); opacity: 0.6;
}
.loy-hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  opacity: 0;
  animation: fade-up 1.1s var(--ease-out-expo) 0.45s forwards;
}
.loy-hero-title em { font-style: italic; color: var(--gold); }
.loy-hero-rule {
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 2rem 0;
  animation: loy-rule 1.2s var(--ease-out-expo) 0.85s forwards;
}
@keyframes loy-rule { to { width: min(260px, 70vw); } }
.loy-hero-sub {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.8;
  max-width: 440px;
  opacity: 0;
  animation: fade-up 1s var(--ease-out-expo) 0.85s forwards;
}
/* Coming Soon 뱃지 */
.loy-coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,146,74,0.3);
  border-radius: 1px;
  padding: 0.45rem 1rem;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out-expo) 1.05s forwards;
}
.loy-coming-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: loy-pulse 2s ease-in-out infinite;
}
@keyframes loy-pulse { 0%,100%{opacity:1}50%{opacity:0.35} }

/* ─── Hero 우측: 구조 다이어그램 ────────────────────────── */
.loy-diagram {
  opacity: 0;
  animation: fade-up 1s var(--ease-out-expo) 0.7s forwards;
}
.loy-diagram-inner {
  border: 1px solid rgba(201,146,74,0.18);
  border-radius: 4px;
  background: rgba(8,12,20,0.9);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.loy-diagram-head {
  padding: 0.9rem 1.3rem;
  border-bottom: 1px solid var(--line);
  background: rgba(13,27,46,0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.loy-diagram-label {
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.loy-diagram-badge {
  font-family: var(--f-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,146,74,0.25);
  border-radius: 1px;
  padding: 0.15rem 0.5rem;
}
/* 플로우 노드 */
.loy-flow {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.loy-flow-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.loy-flow-node:last-child { border-bottom: none; }
.loy-flow-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(201,146,74,0.08);
  border: 1px solid rgba(201,146,74,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.loy-flow-icon svg { width: 15px; height: 15px; color: var(--gold); opacity: 0.85; }
.loy-flow-icon.green {
  background: rgba(110,231,183,0.06);
  border-color: rgba(110,231,183,0.2);
}
.loy-flow-icon.green svg { color: #6EE7B7; }
.loy-flow-text { flex: 1; }
.loy-flow-title {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.loy-flow-desc {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.4;
}
.loy-flow-val {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.loy-flow-arrow {
  display: flex;
  justify-content: center;
  padding: 0.3rem 0;
  color: var(--gold);
  opacity: 0.3;
}
.loy-flow-arrow svg { width: 14px; height: 14px; }

/* ─── Section: 공통 ──────────────────────────────────────── */
.loy-section {
  position: relative;
  padding: 6rem 3.5rem;
  border-bottom: 1px solid var(--line);
  z-index: 1;
}
.loy-section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* ─── Section 01: Tesla 철학 비교 ────────────────────────── */
.loy-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 4rem;
}
.loy-phil-lead {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.loy-phil-lead em { font-style: italic; color: var(--gold); }
.loy-phil-body {
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.85;
}
.loy-phil-body strong { color: var(--white); font-weight: 400; }
.loy-blockquote {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-left: 2px solid rgba(201,146,74,0.4);
  background: rgba(201,146,74,0.04);
}
.loy-blockquote-text {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
}
.loy-blockquote-text em { font-style: normal; color: var(--gold); }
/* 비교 카드 */
.loy-compare {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
}
.loy-compare-card {
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line);
  background: rgba(8,12,20,0.5);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.loy-compare-card.bekah {
  border-color: rgba(201,146,74,0.22);
  background: rgba(201,146,74,0.03);
}
.loy-compare-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.loy-compare-card.bekah::before {
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0.6;
}
.loy-compare-label {
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.loy-compare-card.bekah .loy-compare-label { color: var(--gold); opacity: 0.8; }
.loy-compare-title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.loy-compare-desc {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.6;
}
.loy-compare-card.bekah .loy-compare-desc { color: var(--white-dim); }

/* ─── Section 02: How It Works ───────────────────────────── */
.loy-how-section { background: linear-gradient(180deg, transparent, rgba(13,27,46,0.2) 50%, transparent); }
.loy-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 4rem;
}
.loy-step-card {
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--line);
  background: rgba(8,12,20,0.6);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.loy-step-card:hover { border-color: rgba(201,146,74,0.22); }
.loy-step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.loy-step-card:hover::before { opacity: 0.45; }
.loy-step-num {
  font-family: var(--f-display);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 1.2rem;
}
.loy-step-icon {
  width: 36px; height: 36px;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1.2rem;
}
.loy-step-title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}
.loy-step-title em { font-style: italic; color: var(--gold); }
.loy-step-desc {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.7;
}

/* ─── Section 03: Rewards ────────────────────────────────── */
.loy-rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  margin-top: 4rem;
}
.loy-reward-card {
  padding: 2rem 1.6rem;
  border: 1px solid var(--line);
  background: rgba(8,12,20,0.5);
  text-align: center;
  transition: border-color 0.3s ease;
}
.loy-reward-card:hover { border-color: rgba(201,146,74,0.2); }
.loy-reward-val {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.loy-reward-val span { color: var(--gold); }
.loy-reward-label {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--white-dim);
  margin-top: 0.5rem;
}
.loy-reward-sub {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 300;
  color: var(--slate);
  margin-top: 0.25rem;
  line-height: 1.5;
}

/* ─── Coming Soon CTA ────────────────────────────────────── */
.loy-cta {
  padding: 6rem 3.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.loy-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(201,146,74,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.loy-cta-inner {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.loy-cta-heb {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--gold);
  opacity: 0.55;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.loy-cta-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.loy-cta-title em { font-style: italic; color: var(--gold); }
.loy-cta-sub {
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}
/* 이메일 사전등록 폼 */
.loy-notify-form {
  display: flex;
  gap: 0.6rem;
  max-width: 420px;
  margin: 0 auto;
}
.loy-notify-input {
  flex: 1;
  background: rgba(245,240,232,0.04);
  border: 1px solid rgba(245,240,232,0.14);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s ease;
}
.loy-notify-input:focus { border-color: rgba(201,146,74,0.5); }
.loy-notify-input::placeholder { color: var(--slate); }
.loy-notify-btn {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-deep);
  background: var(--gold);
  border: none;
  border-radius: 2px;
  padding: 0.75rem 1.4rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.loy-notify-btn:hover { background: var(--gold-lt); }
.loy-notify-note {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 300;
  color: var(--slate);
  margin-top: 0.8rem;
  text-align: center;
}
.loy-notify-success {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  display: none;
  animation: fade-up 0.5s var(--ease-out-expo);
}
.loy-notify-success em { color: var(--gold); font-style: normal; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .loy-rewards-grid { grid-template-columns: 1fr 1fr; }
  .loy-steps-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .loy-hero-inner       { grid-template-columns: 1fr; gap: 3rem; }
  .loy-hero             { padding: 5rem 2rem 4rem; }
  .loy-section          { padding: 5rem 2rem; }
  .loy-philosophy-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .loy-cta              { padding: 4.5rem 2rem; }
}
@media (max-width: 768px) {
  .loy-hero   { padding: 4.5rem 1.5rem 3.5rem; }
  .loy-section { padding: 4.5rem 1.5rem; }
  .loy-steps-grid   { grid-template-columns: 1fr; }
  .loy-rewards-grid { grid-template-columns: 1fr 1fr; }
  .loy-notify-form  { flex-direction: column; }
  .loy-notify-btn   { width: 100%; padding: 0.8rem; }
  .loy-bg-heb       { display: none; }
}
