/* ABM Pro — 시작하기 안내 (start.html) */

.page-start {
  --start-glow: rgba(37, 99, 235, 0.12);
  --start-glow-soft: rgba(37, 99, 235, 0.06);
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--start-glow), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, var(--start-glow-soft), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 60%, rgba(22, 163, 74, 0.05), transparent 45%),
    var(--color-bg-alt);
}

.page-start #header,
.page-start #header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.page-start #header .sitelogo a,
.page-start #header .gnb a,
.page-start #header .btn-m-menu {
  color: var(--color-text);
}

.start-page {
  padding: 120px 20px 88px;
  display: flex;
  justify-content: center;
}

.start-shell {
  width: 100%;
  max-width: 720px;
  animation: startFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.start-intro {
  margin-bottom: 40px;
  text-align: center;
}

.start-intro__title {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 3.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.45;
  color: var(--color-text);
}

.start-intro__desc {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  letter-spacing: -0.005em;
}

.start-cards {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

@keyframes startFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes startCardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.start-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 28px rgba(15, 23, 42, 0.05);
  padding: 36px 30px 32px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  animation: startCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.start-card:nth-child(1) { animation-delay: 0.05s; }
.start-card:nth-child(2) { animation-delay: 0.12s; }
.start-card:nth-child(3) { animation-delay: 0.19s; }

.start-card.is-recommended {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.12),
    0 12px 40px rgba(37, 99, 235, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.04);
  transform: translateY(-2px);
}

.start-card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.start-card--ios .start-card__top {
  gap: 20px;
}

.start-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Android — mint label matching official green */
.start-card__badge--android {
  background: rgba(61, 220, 132, 0.14);
  border-color: rgba(61, 220, 132, 0.28);
  color: #0f9d58;
}

.start-card--android.is-recommended .start-card__badge--android {
  background: #3ddc84;
  border-color: #3ddc84;
  color: #064e3b;
  box-shadow: 0 6px 16px rgba(61, 220, 132, 0.32);
}

/* Apple — graphite label matching apple mark */
.start-card__badge--apple {
  background: rgba(24, 24, 27, 0.06);
  border-color: rgba(24, 24, 27, 0.1);
  color: #27272a;
}

.start-card--ios.is-recommended .start-card__badge--apple {
  background: #18181b;
  border-color: #18181b;
  color: #fff;
  box-shadow: 0 6px 16px rgba(24, 24, 27, 0.22);
}

/* PC — blue label matching laptop mark */
.start-card__badge--pc {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
}

.start-card--desktop.is-recommended .start-card__badge--pc {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.start-card.hidden {
  display: none;
}

.start-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(160deg, #f8fafc 0%, #e2e8f0 100%);
  color: #334155;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 20px rgba(15, 23, 42, 0.08);
}

.start-card__icon--android,
.start-card__icon--apple {
  width: 84px;
  height: 84px;
  border-radius: 24px;
}

.start-card__icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.start-card__icon--android img {
  width: 44px;
  height: 44px;
}

.start-card__icon--apple img {
  width: 40px;
  height: 40px;
}

.start-card__icon .material-symbols-rounded {
  font-size: 2rem;
}

/* Android — official green (#3DDC84) bot head */
.start-card__icon--android {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 45%),
    linear-gradient(160deg, #f0fdf6 0%, #c9f7de 100%);
  color: #3ddc84;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(61, 220, 132, 0.22);
}

.start-card.is-recommended .start-card__icon--android {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 28px rgba(61, 220, 132, 0.3);
}

/* Apple — graphite on soft gray */
.start-card__icon--apple {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 48%),
    linear-gradient(160deg, #f4f4f5 0%, #e4e4e7 100%);
  color: #18181b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(24, 24, 27, 0.12);
}

.start-card.is-recommended .start-card__icon--apple {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 28px rgba(24, 24, 27, 0.16);
}

/* PC — brand blue laptop */
.start-card__icon--pc {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 48%),
    linear-gradient(160deg, #eff6ff 0%, #bfdbfe 100%);
  color: #1d4ed8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 10px 24px rgba(37, 99, 235, 0.16);
}

.start-card.is-recommended .start-card__icon--pc {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(37, 99, 235, 0.22);
}

/* legacy alias */
.start-card__icon--play {
  background: linear-gradient(160deg, #ecfdf5 0%, #bbf7d0 100%);
  color: #16a34a;
}

.start-card__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.start-card__title {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 3.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.45;
  color: var(--color-text);
}

.start-card__desc {
  margin: 0 auto 28px;
  max-width: 480px;
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: -0.005em;
  color: var(--color-text-muted);
  white-space: pre-line;
}

.start-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  max-width: 360px;
}

.start-flow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}

.start-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 1px;
  background: linear-gradient(90deg, #93c5fd, #bfdbfe);
}

.start-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--color-accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  z-index: 1;
}

.start-card.is-recommended .start-flow__num {
  background: var(--color-accent);
  color: #fff;
}

.start-flow__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: -0.005em;
  line-height: 1.4;
}

.start-card.is-recommended .start-flow__label {
  color: var(--color-text);
}

.start-card__note {
  margin: 20px 0 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  letter-spacing: -0.005em;
}

.start-card__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 380px;
  margin: 0 auto;
}

.start-card__actions .btn {
  width: 100%;
  justify-content: center;
}

.start-card__cta {
  gap: 10px;
  min-height: 54px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.start-card__cta .material-symbols-rounded {
  flex-shrink: 0;
  font-size: 1.25rem;
  margin-right: 2px;
}

.start-card__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.34);
}

.start-card__cta:active {
  transform: translateY(0);
}

.start-card__actions .btn-secondary {
  background: #fff;
  color: var(--color-accent);
  border: 1.5px solid var(--color-border);
  box-shadow: none;
}

.start-card__actions .btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.start-tip {
  display: block;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(245, 247, 251, 0.9);
  border: 1px solid var(--color-border);
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

a.start-tip:hover {
  border-color: #93c5fd;
  background: #f8fafc;
  box-shadow: var(--shadow);
}

.start-tip__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--color-text);
}

.start-tip__title .material-symbols-rounded {
  flex-shrink: 0;
  font-size: 1.25rem;
  margin-right: 2px;
  color: var(--color-accent);
}

.start-tip__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  letter-spacing: -0.005em;
  color: var(--color-text-muted);
  text-align: center;
}

.start-common {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  text-align: center;
}

.start-common__block + .start-common__block {
  margin-top: 20px;
}

.start-common__label {
  margin: 0 0 14px;
  font-size: 0.94rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--color-text-muted);
}

.start-common__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.start-common__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 140px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.start-common__btn--login {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.start-common__btn--login:hover {
  background: var(--color-accent-dark);
}

.start-common__btn--kakao {
  background: #fee500;
  color: #3c1e1e;
  border: 1px solid #e5ce00;
}

.start-common__btn--kakao:hover {
  background: #f5d900;
}

@media (prefers-reduced-motion: reduce) {
  .start-shell,
  .start-card,
  .start-card__cta {
    animation: none;
    transition: none;
  }

  .start-card.is-recommended {
    transform: none;
  }
}

@media (max-width: 480px) {
  .start-page {
    padding: 100px 16px 72px;
  }

  .start-intro {
    margin-bottom: 32px;
  }

  .start-cards {
    gap: 18px;
  }

  .start-card {
    padding: 32px 20px 28px;
    border-radius: 18px;
  }

  .start-card__top {
    margin-bottom: 20px;
  }

  .start-card__desc {
    margin-bottom: 24px;
  }

  .start-flow {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .start-common__btn {
    width: 100%;
    min-width: 0;
  }
}
