/* Vetoben App Download Landing — /app
   Goal: app download ONLY. No web/sell/phone/contact CTAs.
*/

.vb-app {
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --gold: #a67c3d;
  --surface: #f5f5f7;
  --white: #ffffff;
  width: 100%;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.45;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.vb-app *,
.vb-app *::before,
.vb-app *::after {
  box-sizing: border-box;
}

.vb-app__wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

.vb-app__wrap--narrow {
  max-width: 640px;
  text-align: center;
}

/* —— Shared —— */
.vb-app__h2 {
  margin: 0 0 48px;
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-align: center;
  color: var(--ink);
}

.vb-app__h2--sm {
  margin: 0 0 28px;
  font-size: clamp(22px, 3vw, 28px);
}

.vb-app__section {
  padding: 96px 0;
}

.vb-app__section--tight {
  padding: 56px 0;
}

/* —— Store badges (ONLY CTAs on this page) —— */
.vb-app__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vb-app__store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 20px 10px 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.vb-app__store:hover,
.vb-app__store:focus-visible {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #fff;
}

.vb-app__store-icon {
  flex-shrink: 0;
}

.vb-app__store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.vb-app__store-kicker {
  font-size: 10px;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

.vb-app__store-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.vb-app__store--light {
  background: #fff;
  color: #000;
}

.vb-app__store--light:hover,
.vb-app__store--light:focus-visible {
  color: #000;
  opacity: 0.92;
}

/* —— Hero —— */
.vb-app__hero {
  padding: 72px 28px 80px;
  background:
    radial-gradient(ellipse 80% 60% at 85% 40%, rgba(166, 124, 61, 0.08), transparent 55%),
    linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.vb-app__hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.vb-app__hero-title {
  margin: 0 0 20px;
  font-size: clamp(36px, 5.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink);
}

.vb-app__hero-lead {
  margin: 0 0 40px;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  color: #3a3a3a;
  letter-spacing: -0.015em;
}

.vb-app__hero-lead-em {
  display: inline-block;
  margin-top: 2px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  background: linear-gradient(transparent 72%, rgba(166, 124, 61, 0.22) 72%);
}

.vb-app__cta-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.vb-app__cta-label {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* —— Phone mockup —— */
.vb-app__hero-device {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vb-app__phone {
  position: relative;
  width: min(100%, 280px);
  padding: 12px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2a2a2a, #0d0d0d);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.vb-app__phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 2;
  width: 96px;
  height: 22px;
  margin-left: -48px;
  border-radius: 14px;
  background: #0d0d0d;
}

.vb-app__phone-screen {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #f7f5f2;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.vb-app__phone-status {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #111;
}

.vb-app__phone-status-icons {
  letter-spacing: 1px;
  font-size: 8px;
  opacity: 0.55;
}

.vb-app__phone-brand {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 8px 0 14px;
  color: #111;
}

.vb-app__phone-panel {
  margin: 0 14px;
  padding: 22px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #ece7df;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  flex: 1;
}

.vb-app__phone-eyebrow {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.vb-app__phone-title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
}

.vb-app__phone-sub {
  margin: 0 0 20px;
  font-size: 12px;
  color: #777;
}

.vb-app__phone-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.vb-app__phone-shots span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 12px;
  border: 1px dashed #d5cfc4;
  background: #faf8f5;
  font-size: 11px;
  font-weight: 600;
  color: #8a847a;
}

.vb-app__phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.vb-app__phone-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: auto;
  padding: 12px 4px 16px;
  background: #fff;
  border-top: 1px solid #eee;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #999;
  text-align: center;
  gap: 0;
}

.vb-app__phone-tabs span {
  padding: 0 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vb-app__phone-tabs .is-on {
  color: #111;
}

/* —— Why —— */
.vb-app__why {
  background: var(--white);
}

.vb-app__why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.vb-app__why-card {
  text-align: center;
  padding: 36px 18px;
  border-radius: 20px;
  background: var(--surface);
}

.vb-app__why-icon {
  display: block;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 18px;
}

.vb-app__why-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
}

/* —— Flow (compact horizontal) —— */
.vb-app__flow {
  background: var(--surface);
}

.vb-app__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
}

.vb-app__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-width: 110px;
  padding: 4px 14px 4px 10px;
  text-align: center;
}

.vb-app__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 0;
  width: 12px;
  height: 1px;
  background: #cfcfcf;
}

.vb-app__step--final .vb-app__step-text {
  color: var(--gold);
}

.vb-app__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.vb-app__step--final .vb-app__step-num {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.vb-app__step-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  max-width: 7.5em;
}

/* —— Tutorials (YouTube Shorts) —— */
.vb-app__tuts {
  background: var(--white);
}

.vb-app__tut-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
}

.vb-app__tut {
  margin: 0;
  width: min(100%, 200px);
  text-align: center;
}

.vb-app__tut-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.vb-app__tut-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vb-app__tut-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.vb-app__tut-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vb-app__tut-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.vb-app__tut-play::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 17px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.vb-app__tut-link:hover .vb-app__tut-play,
.vb-app__tut-link:focus-visible .vb-app__tut-play {
  background: #ff0000;
}

.vb-app__tut-cap {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Landscape guide banner (not Shorts) — center under Shorts row */
.vb-app .vb-app__tuts .vb-app__wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.vb-app .vb-app__tut-wide {
  display: block;
  float: none;
  align-self: center;
  width: min(100%, 560px);
  max-width: 560px;
  margin: 28px auto 0;
  margin-inline: auto;
  padding: 0;
  text-align: center;
}

.vb-app .vb-app__tut-wide .vb-app__tut-link {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.vb-app .vb-app__tut-frame--wide {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
}

.vb-app .vb-app__tut-wide .vb-app__tut-cap {
  margin-top: 10px;
}

/* —— Categories (chips) —— */
.vb-app__cats {
  background: var(--white);
}

.vb-app__cat-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.vb-app__cat {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}

/* —— Final CTA —— */
.vb-app__final {
  padding: 64px 28px 72px;
  background: #0a0a0a;
  color: #fff;
}

.vb-app__final-title {
  margin: 0 0 28px;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: #fff;
}

.vb-app__stores--final {
  justify-content: center;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .vb-app__hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .vb-app__cta-block {
    align-items: center;
  }

  .vb-app__stores {
    justify-content: center;
  }

  .vb-app__why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vb-app__step {
    min-width: 100px;
    padding: 4px 12px 4px 8px;
  }
}

@media (max-width: 720px) {
  .vb-app__steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    max-width: 380px;
    margin: 0 auto;
  }

  .vb-app__step {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 10px;
    min-width: 0;
    padding: 12px 14px;
    background: #fff;
    border-radius: 12px;
  }

  .vb-app__step:not(:last-child)::after {
    display: none;
  }

  .vb-app__step-text {
    max-width: none;
    font-size: 16px;
  }

  .vb-app__step--final {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .vb-app__hero {
    padding: 48px 20px 56px;
  }

  .vb-app__section {
    padding: 72px 0;
  }

  .vb-app__section--tight {
    padding: 44px 0;
  }

  .vb-app__wrap {
    padding: 0 20px;
  }

  .vb-app__h2 {
    margin-bottom: 36px;
  }

  .vb-app__h2--sm {
    margin-bottom: 22px;
  }

  .vb-app__why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .vb-app__why-card {
    padding: 22px 12px;
  }

  .vb-app__why-icon {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .vb-app__why-title {
    font-size: 14px;
  }

  .vb-app__store {
    width: 100%;
    justify-content: center;
  }

  .vb-app__phone {
    width: min(100%, 260px);
  }

  .vb-app__phone-screen {
    min-height: 480px;
  }

  .vb-app__final {
    padding: 52px 20px 64px;
  }

  .vb-app__cat {
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vb-app__store {
    transition: none;
  }
}

/* In-app WebView: store CTAs are redundant — keep page readable, hide duplicate final if desired */
html.vb-in-app .vb-app__stores {
  display: none;
}

html.vb-in-app .vb-app__cta-label::after {
  content: " (이미 앱에서 보고 있습니다)";
  font-weight: 400;
  color: var(--muted);
}
