/* ##########################################################################
   유니피드 로그인 화면 전용 스타일 (login.css)
   - 모던 스타트업/테크 랜딩 & 로그인 인터랙션
   - 카드 자동 회전/교체 애니메이션, 타이핑 텍스트 효과, 숫자 카운팅업
   - 스크롤 트리거 리빌(IntersectionObserver) 섹션
   ########################################################################## */

html {
  scroll-behavior: smooth;
}

body.login-body {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  background: #FFFDF9;
  max-width: none;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  color: var(--c-slate-800);
  overflow-x: hidden;
}

/* ==========================================================================
   1. 메인 레이아웃 (히어로 + 로그인 카드)
   ========================================================================== */
.login-main {
  display: grid;
  grid-template-columns: 1.15fr 420px;
  min-height: 100vh;
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 32px;
  gap: 64px;
  align-items: center;
  position: relative;
}

/* 좌측 히어로 섹션 */
.hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 실시간 학우 활동 알림 팝업 티커 */
.live-ticker-wrap {
  min-height: 38px;
  margin-bottom: -4px;
}
.live-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-surface);
  border: 1px solid var(--c-orange-200);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.12);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-13);
  font-weight: 600;
  color: #9A3412;
  transition: all 0.4s ease;
  animation: tickerSlideIn 0.5s ease-out;
}
.live-ticker.changing {
  opacity: 0;
  transform: translateY(-8px);
}
@keyframes tickerSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: liveDotPulse 1.8s infinite;
}
@keyframes liveDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* 히어로 뱃지 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-orange-50);
  border: 1.5px solid var(--c-orange-200);
  color: var(--c-orange-600);
  font-size: var(--fs-13);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

/* 히어로 타이틀 */
.hero-title {
  font-size: 40px;
  font-weight: 900;
  /* food-cards-title/stat-* 와 같은 이유 — hero 배경은 다크모드에서 안 뒤집히니 고정값 사용 */
  color: #0F172A;
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin: 0;
}

/* 타이틀 텍스트 순환/타이핑 하이라이트 */
.hero-highlight-wrap {
  display: inline-block;
  min-width: 240px;
  position: relative;
}
.hero-highlight {
  color: var(--c-orange-600);
  display: inline-block;
  font-weight: 900;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero-highlight.fade-switch {
  opacity: 0;
  transform: translateY(-6px);
}
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--c-orange-500);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursorBlink 0.9s infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-desc {
  font-size: var(--fs-15);
  /* 위와 동일한 이유로 고정값 */
  color: #64748B;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   2. 실시간 회전 음식 카드 캐러셀 (3.5초마다 새로운 카드로 자동 교체!)
   ========================================================================== */
.food-cards-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.food-cards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.food-cards-title {
  font-size: var(--fs-13);
  font-weight: 700;
  /* 이 hero 섹션 배경(--c-orange-50)은 다크모드에서도 안 뒤집히는 고정 라이트 배경이라
     (브랜드 오렌지는 의도적으로 다크모드 대상에서 제외됨) 텍스트도 고정값을 써야 한다 —
     var(--c-slate-600)을 쓰면 다크모드에서 밝은 회색으로 뒤집혀 배경과 겹쳐 안 보이게 됨. */
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-auto-tag {
  font-size: var(--fs-11);
  background: var(--c-orange-50);
  color: var(--c-orange-600);
  border: 1px solid var(--c-orange-100);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* 3열 카드 그리드 */
.food-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
}

.food-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-slate-100);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.food-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.16);
  border-color: var(--c-orange-200);
}

/* 카드가 교체될 때 적용되는 부드러운 트랜지션 클래스 */
.food-card.switching {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
}

.food-card-img-wrap {
  position: relative;
  width: 100%;
  height: 135px;
  overflow: hidden;
  background: var(--c-slate-50);
}

.food-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.food-card:hover .food-card-img {
  transform: scale(1.08);
}

.food-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: var(--fs-11);
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 2;
}
.badge-orange { background: var(--c-orange-500); color: var(--c-white); }
.badge-blue   { background: #3B82F6; color: var(--c-white); }
.badge-green  { background: var(--c-emerald-500); color: var(--c-white); }

.food-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.food-card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.food-card-name {
  font-size: var(--fs-14);
  font-weight: 800;
  color: var(--c-slate-900);
  margin: 0;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.food-card-rating {
  font-size: var(--fs-13);
  font-weight: 800;
  color: var(--c-orange-600);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  white-space: nowrap;
}
.star-filled {
  color: var(--c-orange-500);
}

.food-card-desc {
  font-size: var(--fs-12);
  color: var(--c-slate-500);
  line-height: 1.45;
  margin: 2px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 캐러셀 인디케이터 도트 */
.card-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}
.card-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--c-slate-200);
  transition: all 0.3s ease;
  cursor: pointer;
}
.card-dot.active {
  width: 22px;
  background: var(--c-orange-500);
}

/* 통계 행 */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--c-slate-100);
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  white-space: nowrap;
}
/* 아래 stat-* 색상들도 food-cards-title과 같은 이유로 고정값 — hero 배경이 다크모드에서
   안 뒤집히는데 var(--c-slate-*)를 쓰면 텍스트만 밝게 뒤집혀서 안 보이게 됨. */
.stat-item .stat-label {
  font-size: var(--fs-13);
  color: #64748B;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stat-item .stat-val {
  font-size: var(--fs-13);
  color: #64748B;
  font-weight: 600;
}
.stat-item b {
  color: #0F172A;
  font-size: var(--fs-16);
  font-weight: 800;
}
.stat-divider {
  color: #CBD5E1;
  font-size: var(--fs-18);
  font-weight: 400;
  height: 28px;
  display: flex;
  align-items: center;
  user-select: none;
}

/* ==========================================================================
   3. 우측: 로그인 카드
   ========================================================================== */
.login-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-slate-100);
  border-radius: var(--radius-5xl);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  animation: cardFlyIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFlyIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto -6px;
  text-align: center;
}
.login-logo-img {
  height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(249, 115, 22, 0.25));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.login-logo-img:hover {
  transform: scale(1.05);
}
.login-logo-text {
  font-size: var(--fs-28);
  font-weight: 900;
  color: var(--c-orange-500);
  letter-spacing: -0.5px;
  text-align: center;
}

.login-title {
  font-size: 23px;
  font-weight: 800;
  color: var(--c-slate-900);
  margin: 0 0 6px;
  text-align: center;
}
.login-subtitle {
  font-size: var(--fs-14);
  color: var(--c-slate-500);
  margin: 0 0 24px;
  text-align: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: var(--fs-13);
  font-weight: 700;
  color: var(--c-slate-700);
}
.label-hint {
  font-size: var(--fs-12);
  color: var(--c-slate-400);
  font-weight: 600;
}

.form-input {
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--c-slate-200);
  border-radius: var(--radius-xl);
  font-size: var(--fs-14);
  color: var(--c-slate-800);
  background: var(--c-slate-50);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.form-input:focus {
  border-color: var(--c-orange-500);
  background: var(--c-surface);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.form-hint {
  font-size: var(--fs-12);
  color: var(--c-emerald-500);
  margin: 2px 0 0;
}

.password-wrap {
  position: relative;
  width: 100%;
}
.password-wrap .form-input {
  width: 100%;
  padding-right: 44px;
}
.eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--fs-16);
  color: var(--c-slate-400);
  padding: 4px;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-13);
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--c-slate-500);
  cursor: pointer;
}
.checkbox {
  accent-color: var(--c-orange-500);
  width: 15px;
  height: 15px;
}
.find-pw {
  color: var(--c-slate-400);
  text-decoration: none;
}
.find-pw:hover {
  color: var(--c-orange-500);
}

.resend-verification-form {
  text-align: center;
  margin-top: 18px;
}
.resend-verification-btn {
  background: none;
  border: none;
  padding: 6px 4px;
  color: var(--c-orange-600);
  font-size: var(--fs-12-5);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.resend-verification-btn:hover {
  color: var(--c-orange-700);
}

.login-error {
  background: var(--c-red-50);
  border: 1px solid var(--c-red-200);
  color: var(--c-red-500);
  font-size: var(--fs-13);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.login-info {
  background: var(--c-orange-50);
  border: 1px solid var(--c-orange-500);
  color: var(--c-orange-600);
  font-size: var(--fs-13);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 18px;
}

.login-btn {
  height: 50px;
  background: linear-gradient(135deg, var(--c-orange-500) 0%, var(--c-orange-600) 100%);
  color: var(--c-white);
  border: none;
  border-radius: var(--radius-xl);
  font-size: var(--fs-16);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
  transition: all 0.2s ease;
  margin-top: 4px;
}
.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.45);
}
.login-btn:active {
  transform: translateY(0);
}

.signup-link {
  text-align: center;
  font-size: var(--fs-13);
  color: var(--c-slate-500);
  margin: 18px 0 0;
}
.signup-anchor {
  color: var(--c-orange-500);
  font-weight: 800;
  text-decoration: none;
  margin-left: 4px;
}
.signup-anchor:hover {
  text-decoration: underline;
}

.security-badge {
  text-align: center;
  font-size: var(--fs-11);
  color: var(--c-slate-400);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--c-slate-100);
}

/* ==========================================================================
   4. 스크롤 안내 인디케이터 (화면 하단)
   ========================================================================== */
.scroll-prompt-wrap {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--c-slate-400);
  font-size: var(--fs-12);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.scroll-prompt-wrap:hover {
  color: var(--c-orange-500);
}
.scroll-mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid var(--c-slate-300);
  border-radius: var(--radius-xl);
  position: relative;
  display: flex;
  justify-content: center;
}
.scroll-wheel-dot {
  width: 4px;
  height: 7px;
  background: var(--c-orange-500);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  animation: wheelScroll 1.6s infinite;
}
@keyframes wheelScroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================================================
   5. 스크롤 다운 리빌 섹션 (스크롤 시 없던 게 스르륵 나타남!)
   ========================================================================== */
.feature-showcase-section {
  background: var(--c-surface);
  border-top: 1.5px solid var(--c-slate-100);
  padding: 100px 32px 120px;
  position: relative;
}

.feature-showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.feature-header {
  text-align: center;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.feature-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-orange-50);
  color: var(--c-orange-600);
  border: 1px solid var(--c-orange-200);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-13);
  font-weight: 700;
}

.feature-main-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--c-slate-900);
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.02em;
}

.feature-sub-desc {
  font-size: var(--fs-16);
  color: var(--c-slate-500);
  line-height: 1.65;
  margin: 0;
}

/* 스크롤 시 스르륵 나타나는 카드 4열 그리드 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

/* 스크롤 트리거 초기 상태 (숨김) */
.reveal-card {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--c-surface);
  border: 1.5px solid var(--c-slate-100);
  border-radius: var(--radius-4xl);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* IntersectionObserver 로 화면에 들어왔을 때 활성화 */
.reveal-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-card:hover {
  transform: translateY(-8px);
  border-color: var(--c-orange-200);
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.14);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-3xl);
  background: var(--c-orange-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-26);
  border: 1px solid var(--c-orange-100);
}

.feature-card-title {
  font-size: var(--fs-18);
  font-weight: 800;
  color: var(--c-slate-900);
  margin: 0;
}

.feature-card-desc {
  font-size: var(--fs-14);
  color: var(--c-slate-500);
  line-height: 1.6;
  margin: 0;
}

.feature-tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}

.feature-pill-tag {
  font-size: var(--fs-11);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--c-slate-50);
  color: var(--c-slate-600);
  border: 1px solid var(--c-slate-200);
}

/* ==========================================================================
   6. 3-Step 이용 안내 섹션 (How UNIFEED Works)
   ========================================================================== */
.step-showcase-section {
  background: #FFFDF9;
  border-top: 1.5px solid var(--c-slate-50);
  padding: 100px 32px 120px;
  position: relative;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.step-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-slate-100);
  border-radius: var(--radius-5xl);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-orange-500), #FB923C);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover::before {
  opacity: 1;
}

.step-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-num-badge {
  font-size: var(--fs-13);
  font-weight: 900;
  color: var(--c-orange-600);
  background: var(--c-orange-50);
  border: 1px solid var(--c-orange-200);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.step-icon {
  font-size: 30px;
}

.step-card-title {
  font-size: var(--fs-20);
  font-weight: 800;
  color: var(--c-slate-900);
  margin: 0;
}

.step-card-desc {
  font-size: var(--fs-14);
  color: var(--c-slate-500);
  line-height: 1.65;
  margin: 0;
}

.step-preview-box {
  margin-top: auto;
  background: var(--c-slate-50);
  border: 1px solid var(--c-slate-200);
  border-radius: var(--radius-2xl);
  padding: 14px 16px;
  font-size: var(--fs-13);
  color: var(--c-slate-600);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-preview-highlight {
  color: var(--c-orange-600);
  font-weight: 700;
}

/* ==========================================================================
   7. 비교 차트 섹션 (일반 포털 vs 유니피드)
   ========================================================================== */
.compare-showcase-section {
  background: var(--c-surface);
  border-top: 1.5px solid var(--c-slate-100);
  padding: 100px 32px 120px;
  position: relative;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 100%;
}

.compare-card {
  border-radius: var(--radius-5xl);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.compare-card.portal {
  background: var(--c-slate-50);
  border: 1.5px solid var(--c-slate-200);
}

.compare-card.unifeed {
  background: var(--c-surface);
  border: 2px solid var(--c-orange-500);
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.12);
  position: relative;
}

.compare-card-badge {
  font-size: var(--fs-13);
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.compare-card.portal .compare-card-badge {
  background: var(--c-slate-200);
  color: var(--c-slate-500);
}

.compare-card.unifeed .compare-card-badge {
  background: var(--c-orange-50);
  color: var(--c-orange-600);
  border: 1px solid var(--c-orange-200);
}

.compare-card-title {
  font-size: var(--fs-24);
  font-weight: 900;
  margin: 0;
}

.compare-card.portal .compare-card-title {
  color: var(--c-slate-600);
}

.compare-card.unifeed .compare-card-title {
  color: var(--c-slate-900);
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-15);
  line-height: 1.5;
}

.compare-item-icon {
  font-size: var(--fs-17);
  flex-shrink: 0;
  margin-top: 1px;
}

.compare-item-text b {
  font-weight: 700;
}

.compare-card.portal .compare-item-text {
  color: var(--c-slate-500);
}

.compare-card.unifeed .compare-item-text {
  color: var(--c-slate-800);
}

/* ==========================================================================
   8. 전국 캠퍼스 학우 리얼 보이스 (Testimonials)
   ========================================================================== */
.testimonials-showcase-section {
  background: #FFFDF9;
  border-top: 1.5px solid var(--c-slate-50);
  padding: 100px 32px 120px;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: 100%;
}

.testimonial-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-slate-100);
  border-radius: var(--radius-4xl);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.testimonial-stars {
  color: var(--c-amber-500);
  font-size: var(--fs-14);
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: var(--fs-14);
  line-height: 1.65;
  color: var(--c-slate-700);
  margin: 0;
  flex-grow: 1;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--c-slate-100);
  margin-top: auto;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-orange-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-18);
  border: 1.5px solid var(--c-orange-200);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-author-name {
  font-size: var(--fs-13);
  font-weight: 800;
  color: var(--c-slate-900);
}

.testimonial-author-dept {
  font-size: var(--fs-12);
  color: var(--c-slate-500);
}

/* ==========================================================================
   9. 자주 묻는 질문 (FAQ Accordion)
   ========================================================================== */
.faq-showcase-section {
  background: var(--c-surface);
  border-top: 1.5px solid var(--c-slate-100);
  padding: 100px 32px 120px;
  position: relative;
}

.faq-list {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--c-surface);
  border: 1.5px solid var(--c-slate-200);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.open {
  border-color: var(--c-orange-500);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.08);
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--fs-16);
  font-weight: 800;
  color: var(--c-slate-900);
  cursor: pointer;
  font-family: inherit;
}

.faq-question-btn:hover {
  color: var(--c-orange-600);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  stroke: var(--c-slate-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  stroke: var(--c-orange-600);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  font-size: var(--fs-15);
  color: var(--c-slate-600);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 240px;
  padding: 0 24px 22px;
}

/* ==========================================================================
   10. 하단 메가 CTA 배너 섹션
   ========================================================================== */
.cta-showcase-section {
  background: linear-gradient(135deg, var(--c-slate-900) 0%, var(--c-slate-800) 100%);
  padding: 90px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-showcase-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.cta-badge {
  background: var(--c-orange-50);
  border: 1px solid var(--c-orange-200);
  color: var(--c-orange-600);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-13);
  font-weight: 700;
}

.cta-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px 0;
}

.cta-logo-img {
  height: 96px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(249, 115, 22, 0.2));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-logo-img:hover {
  transform: scale(1.06);
}

.cta-title {
  font-size: var(--fs-28);
  font-weight: 900;
  color: var(--c-slate-900);
  margin: 0;
  line-height: 1.35;
  text-align: center;
}

.cta-desc {
  font-size: var(--fs-15);
  color: var(--c-slate-500);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.cta-scroll-btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-orange-500);
  color: var(--c-white);
  font-size: var(--fs-16);
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-3xl);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.45);
  transition: all 0.25s ease;
  font-family: inherit;
}

.cta-scroll-btn:hover {
  background: var(--c-orange-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.55);
}

/* ==========================================================================
   11. 서비스 푸터 (Footer)
   ========================================================================== */
.login-footer {
  background: #0B1120;
  border-top: 1px solid var(--c-slate-800);
  padding: 48px 32px 60px;
  color: var(--c-slate-500);
  font-size: var(--fs-13);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  color: var(--c-white);
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(249, 115, 22, 0.3));
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--c-slate-400);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--c-orange-500);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--c-slate-800);
  color: var(--c-slate-500);
  line-height: 1.6;
}

/* ==========================================================================
   12. 반응형 대응 (모바일 / 태블릿)
   ========================================================================== */
@media (max-width: 1024px) {
  .login-main {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 40px 24px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-grid {
    grid-template-columns: 1fr;
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
  .food-cards {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .scroll-prompt-wrap {
    display: none;
  }
  .cta-title {
    font-size: var(--fs-26);
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 12px 16px;
  }
}

